Answers for "how to convert array to uppercase in javascript"

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
0

javascript capitalize array

const names = ['Ali', 'Atta', 'Alex', 'John'];

const uppercased = names.map(name => name.toUpperCase());

console.log(uppercased);

// ['ALI', 'ATTA', 'ALEX', 'JOHN']
Posted by: Guest on September-11-2020

Code answers related to "how to convert array to uppercase in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language