.touppercase(Char) javascript code example
Example 1: uppercase javascript
var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!
Example 2: capitalize a string javascript
const Capitalize = function(string){
return string[0].toUpperCase + string.slice(1).toLowerCase;
}