What is the difference between these two ?
The description for the toLocaleLowerCase() mentions Converts a string to lowercase letters, according to the host's locale
.
What is the host's locale ?
What is the difference between these two ?
The description for the toLocaleLowerCase() mentions Converts a string to lowercase letters, according to the host's locale
.
What is the host's locale ?
Definition and Usage as per w3schools
The toLocaleLowerCase() method converts a string to lowercase letters, according to the host's current locale.
The locale is based on the language settings of the browser.
Generally, this method returns the same result as the toLowerCase() method. However, for some locales, where language conflict with the regular Unicode case mappings occurs (such as Turkish), the results may vary.