tolowercase node js code example
Example 1: js to lowercase
var str = "Hello World!";
var res = str.toLowerCase();
Example 2: javascript lowercase string
var str = "ExaMple";
var res = str.toLowerCase();
output res -> "example"
Example 3: tolowercase
const sentence = 'The quick brown fox jumps over the lazy dog.';
console.log(sentence.toLowerCase());
// expected output: "the quick brown fox jumps over the lazy dog."