JavaScript String toLocaleLowerCase() method

The JavaScript string toLocaleLowerCase() method transforms the given string into a lowercase letter on the basis of the current locale of the host.

Note: A string can be converted into lowercase letters with the toLowerCase() method but the result may vary according to locale or language. To overcome this problem we have to use toLocaleLowerCase().



Return: Locale-specific string with lowercase letters.


<!DOCTYPE html>
var a ="HELLO WORLD!";
Please follow and like us:
Content Protection by