String minúsculo JavaScript
var str = "My Big Boy!"
var res = str.toLowerCase(); //res is "my big boy!"
Grepper
var str = "My Big Boy!"
var res = str.toLowerCase(); //res is "my big boy!"
var str = "Hello World!";
var res = str.toLowerCase();
const lowerCase = (string) => {
const newText = string.toLowerCase();
return newText
};
var str = "ExaMple";
var res = str.toLowerCase();
output res -> "example"
var string = "TO loWer CASE";
console.log(string.toLowerCase()); // to lower case
var string = "A string";
var upperCase = string.toUpperCase();
console.log(upperCase); // -> A STRING
var lowerCase = string.toLowerCase();
console.log(lowerCase); // -> a string