method String.toLocaleUpperCase Private String.toLocaleUpperCase(locales?: string | string[]): string Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. Parameters optional locales: string | string[] Return Type string