The String toLocaleUpperCase() method

Find out all about the JavaScript toLocaleUpperCase() method of a string

Join the 2022 Full-Stack Web Dev Bootcamp!

Returns a new string with the uppercase transformation of the original string, according to the locale case mappings.

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

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

Similar to the toUpperCase() method, except that does not take locales into consideration.

Download my free JavaScript Beginner's Handbook!

Want to become a better Web Developer? Join the 2022 Web Development Bootcamp!

⭐️⭐️⭐️ Join the 2022 Web Development Bootcamp ⭐️⭐️⭐️