A new string representing the calling string converted to lower case.
0.9.0
TypeError - When called on null or undefined.
strLower("Hello"); // hello
strLower("darkness"); // darkness
strLower(null); // Throws TypeError
strLower(undefined); // Throws TypeError
The strLower() method returns the value of the string converted to lower case. strLower() does not affect the value of the string str itself.