Answers for "function to make string uppercase in javascript"

49

uppercase javascript

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

capitalize first carater js

String.prototype.capitalize = function() {
  return this.charAt(0).toUpperCase() + this.slice(1)
}
Posted by: Guest on December-07-2020

Code answers related to "function to make string uppercase in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language