The toLowerCase() method converts a string to lowercase letters.
The toLowerCase() method converts a string to lowercase letters.
The toLowerCase() method does not change the original string.
string.toLowerCase()
None
A String, representing the value of a string converted to lowercase
Convert the string to lowercase letters:
//convert the string to lowercase letters. var str = "Hello World!"; var res = str.toLowerCase(); console.log(res);//from w w w . j a va 2s.c o m