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"
string.toLowerCase();
var string = "TO loWer CASE";
console.log(string.toLowerCase()); // to lower case
const string = "A string";
const upperCase = string.toUpperCase();
console.log(upperCase); // -> A STRING
const lowerCase = string.toLowerCase();
console.log(lowerCase); // -> a string
const string = "HeLLo woRld"
const lowercased = string.toLowerCase()
console.log(string)
// HeLLo woRld
console.log(lowercased)
// hello world
str.toLowerCase()
const normalString = "Hello World!"
console.log(normalString) // Output: Hello World!
const lowerString = normalString.toLowerCase()
console.log(lowerString) // Output: hello world!
var str = "No Idea";
var res = str.toLowerCase();
var str = "Pigeon"
var res = str.toLowerCase();
const sentence = 'The quick brown fox jumps over the lazy dog.';
console.log(sentence.toLowerCase());
console.log('ALPHABET'.toLowerCase()); // 'alphabet'
cadena.toLowerCase()
let text1 = "Hello World!"; // String
let text2 = text1.toLowerCase(); // text2 is text1 converted to lower
let string = `Your Text Here`.toLowerCase(); //returns "your text here"