JavaScript toUpperCase method
toUpperCase method is used to convert (English) string to uppercase and return the converted string. Its syntax is as follows:
toUpperCase method instance
Run this example, output:
toLocaleUpperCase method
toLocaleUpperCase method toUpperCase is basically the same. toLocaleUpperCase converts the string to uppercase according to the local method. Only a few languages, such as Turkish, have local case mapping.