convert array to string, then set to uppercase code example
Example: convert an array to uppercase or lowercase js
var fruits = ["Banana", "Orange", "Apple", "Mango"];
undefined
string = fruits.join(' ').toUpperCase();
// Output"BANANA ORANGE APPLE MANGO"