Answers for "String().toLowerCase()"

1

String.toLower() js

const str = "Hello world!";
console.log(str); //Output: "Hello world!"
const String = str.toLowerCase();
console.log(String) //Output: "hello world!"
Posted by: Guest on April-10-2021
0

7.3.2. .toLowerCase()

/*The toLowerCase() string method returns the value of its string in 
all lowercase letters. Since it is a method, we must precede it with a 
specific string in order to use it.*/

let nonprofit = "LaunchCode";

console.log(nonprofit.toLowerCase());
console.log(nonprofit);

//launchcode
//LaunchCode
Posted by: Guest on June-13-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language