convert lowercase to uppercase in js code example
Example 1: uppercase javascript
var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!
Example 2: uppercase in javascript
"foo bar!".toUpperCase();
var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!
"foo bar!".toUpperCase();