JavaScript String toUpperCase() method
returns string converted to upper case

toUpperCase() method converts a string to upper case letters.

toLowerCase() does not accept any parameter.

toUpperCase() method returns a new string representing the calling string converted to upper case.

toUpperCase() method does not change the original string.

syntax description
convert myString to upper case letters
myString.toUpperCase()