var str = "Hello World!";
var res = str.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."
const string = "HeLLo woRld"
const lowercased = string.toLowerCase()
console.log(string)
// HeLLo woRld
console.log(lowercased)
// hello world
str.toLowerCase()
var str = "Pigeon"
var res = str.toLowerCase();
const sentence = 'The quick brown fox jumps over the lazy dog.';
console.log(sentence.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"
.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!