Answers for "replace in js and uppercase"

49

uppercase string in js

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

js to uppercase

var string = "A string";
console.log(string.toUpperCase()); // -> A STRING
Posted by: Guest on July-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language