toLowerCase() is a method of String object, to convert a string to all lower case characters. code example
Example: javascript lowercase string
var str = "My Big Boy!"
var res = str.toLowerCase(); //res is "my big boy!"
var str = "My Big Boy!"
var res = str.toLowerCase(); //res is "my big boy!"