Standard built-ins
String.prototype.toLocaleUpperCase()
Applies locale-sensitive uppercase mapping; the length can change.
Formal Syntax & Structure
javascript syntaxjavascript
text.toLocaleUpperCase([locales])Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| locales | String | Array | Requested locale tag or tags. |
Return Value
String
Case-mapped text.
Working Example
Example Snippetjavascript
console.log("i".toLocaleUpperCase("tr"));