myString.toLocaleUpperCase() in ECMAScript 262

Return a locale-specific uppercase version of the string.

Return Type


This function works exactly the same as toUpperCase() except that its result is intended to yield the correct result for the host environment's current locale, rather than a locale-independent result. There will only be a difference in the few cases (such as Turkish) where the rules for that language conflict with the regular Unicode case mappings.