Answers for "upper cas in javescript"

49

uppercase javascript

var str = "Hello World!";
var res = str.toUpperCase();  //HELLO WORLD!
Posted by: Guest on July-30-2020
4

snentence case capitalisation js

const string = "tHIS STRING'S CAPITALISATION WILL BE FIXED."
const string = string.charAt(0).toUpperCase() + string.slice(1)
Posted by: Guest on September-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language