Answers for "how to convert lowercase letter to uppercase in JS"

49

uppercase string in js

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

convert an array to uppercase or lowercase js

var fruits = ["Banana", "Orange", "Apple", "Mango"];
undefined
string = fruits.join(' ').toUpperCase();
// Output"BANANA ORANGE APPLE MANGO"
Posted by: Guest on February-19-2020

Code answers related to "how to convert lowercase letter to uppercase in JS"

Code answers related to "Javascript"

Browse Popular Code Answers by Language