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