Answers for "how to make our own touppercase function"

5

touppercase

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

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

console.log(uppercased);

// ['ALI', 'ATTA', 'ALEX', 'JOHN']
Posted by: Guest on October-23-2020
2

JS .toUpperCase

.toUpperCase()

// Like this:
alert("In upper case: " + "my string".toUpperCase()); // In upper case: MY STRING
Posted by: Guest on January-21-2022

Code answers related to "how to make our own touppercase function"

Code answers related to "Javascript"

Browse Popular Code Answers by Language