TypeScript String toLocaleUpperCase()
Syntax & Examples


Syntax of String.toLocaleUpperCase()

The syntax of String.toLocaleUpperCase() method is:

toLocaleUpperCase(locales?: string | string[]): string

This toLocaleUpperCase() method of String returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.