Standard built-ins

String.prototype.toLocaleUpperCase()

Try the free JavaScript compiler

Applies locale-sensitive uppercase mapping; the length can change.

Formal Syntax & Structure

javascript syntaxjavascript
text.toLocaleUpperCase([locales])

Parameters & Attributes

NameTypeDescription
localesString | ArrayRequested locale tag or tags.

Return Value

String

Case-mapped text.

Working Example

Example Snippetjavascript
console.log("i".toLocaleUpperCase("tr"));
JavaScript Reference