Answers for "javascript capitalize array"

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 "javascript capitalize array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language