Answers for "convert an array to uppercase or lowercase js"

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
0

how to convert array to uppercase in javascript

var a = ['this','is','test'];

a.map(f=>{ return f.toUpperCase(); });
Posted by: Guest on June-17-2020

Code answers related to "convert an array to uppercase or lowercase js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language