JavaScript String toUpperCase()
JavaScript String toUpperCase()
The toUpperCase() method is used to convert a string to uppercase letters. It does not any effect on the original string.
Syntax:-
Its syntax is:- string.toUpperCase()
Return:-
Its return is:- new string in uppercase