Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert an array to uppercase or lowercase js

var fruits = ["Banana", "Orange", "Apple", "Mango"];
undefined
string = fruits.join(' ').toUpperCase();
// Output"BANANA ORANGE APPLE MANGO"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #array #uppercase #lowercase #js
ADD COMMENT
Topic
Name
6+3 =