toLocaleLowerCase()
converts string to lower case for host's current locale.
The toLocaleLowerCase() method does not change the original string.
String toLocaleLowerCase() |
Yes | Yes | Yes | Yes | Yes |
stringObject.toLocaleLowerCase();
None.
A string converted to lowercase according to the host's current locale.
var stringValue = "Hello world";
console.log(stringValue.toLocaleLowerCase());
The code above generates the following result.