JavaScript String toUpperCase() MethodThe JavaScript string toUpperCase() method is used to convert the string into uppercase letter. This method doesn't make any change in the original string. SyntaxThe toUpperCase() method is represented by the following syntax: ReturnString in uppercase letter. JavaScript String toUpperCase() Method ExampleLet's see some simple examples of toUpperCase() method. Example 1Here, we will print the string in uppercase letter. Test it NowOutput: JAVATPOINT Example 2This is one more example to print the string in uppercase letter. Test it NowOutput: JAVATPOINT TUTORIALS Next TopicJavaScript String |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India