Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to Use the toLowerCase() String Method in javascript

const string = "HeLLo woRld"

const lowercased = string.toLowerCase()

console.log(string)
// HeLLo woRld

console.log(lowercased)
// hello world
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #How #Use #String #Method #javascript
ADD COMMENT
Topic
Name
8+6 =