Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to Use the toUpperCase() String Method in javascript

const string = "HeLLo woRld"

const uppercased = string.toUpperCase()

console.log(string)
// HeLLo woRld

console.log(uppercased)
// HELLO WORLD
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #How #Use #String #Method #javascript
ADD COMMENT
Topic
Name
2+6 =