Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

touppercase javascript array

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

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

console.log(uppercased);

// ['ALI', 'ATTA', 'ALEX', 'JOHN']
Source by attacomsian.com #
 
PREVIOUS NEXT
Tagged: #touppercase #javascript #array
ADD COMMENT
Topic
Name
2+7 =