var fruits = ["Banana", "Orange", "Apple", "Mango"]; undefined string = fruits.join(' ').toUpperCase(); // Output"BANANA ORANGE APPLE MANGO"