String toLocaleUpperCase() method

Find all information about the JavaScript toLocaleUpperCase() method of the string

According to the case mapping of the locale, a new string with the original string uppercase conversion is returned.

The first parameter represents the locale, but it is optional (if omitted, the current locale is used):

'Testing'.toLocaleUpperCase() //'TESTING'
'Testing'.toLocaleUpperCase('it') //'TESTING'
'Testing'.toLocaleUpperCase('tr') //'TESTÄ°NG'

Similar totoUpperCase()Method, except that the language environment is not considered.

Download mine for freeJavaScript beginner's manual


More js tutorials: