Name
String.toLocaleUpperCase( ) — convert a string to uppercase
Availability
JavaScript 1.5; JScript 5.5, ECMAScript v3
Synopsis
string
.toLocaleUpperCase( )
Returns
A copy of string
, converted to uppercase
letters in a locale-specific way. Only a few languages, such as
Turkish, have locale-specific case mappings, so this method usually
returns the same value as toUpperCase( )
.
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.