Change String to Lowercase Method
The Change String to Lowercase method modifies every character that resides in the stringVar variable that is in uppercase to the lowercase equivalent. It returns a copy of this string that includes all lowercase characters.
Format
stringVar.toLowerCase()
The following example assigns the value e. e. cummings to the variable poet:
var poet = "E. E. Cummings";
poet = poet.toLowerCase();