Javascript Reference - JavaScript String toLocaleLowerCase() Method








toLocaleLowerCase() converts string to lower case for host's current locale.

The toLocaleLowerCase() method does not change the original string.

Browser Support

String toLocaleLowerCase() Yes Yes Yes Yes Yes

Syntax

stringObject.toLocaleLowerCase();

Parameters

None.

Return Value

A string converted to lowercase according to the host's current locale.





Example


var stringValue = "Hello world"; 
console.log(stringValue.toLocaleLowerCase());

The code above generates the following result.