javascript string to lowercase
var string = "TO loWer CASE";
console.log(string.toLowerCase()); // to lower case
javascript string to lowercase
var string = "TO loWer CASE";
console.log(string.toLowerCase()); // to lower case
how to use .tolowercase
.toLowerCase is a command you can you to make pieces of string
into lowercase when printed with console.log
Ex.
// This is the variable we will be using
let Greeting = 'Hi!';
//Then, we reassign the variable to use the command
Greeting = .toLowercCase
// Print = hi!
Happy Codings!
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us