Convert to Lowercase
Create a variable
In JavaScript, you can use the
For example:
lowercased
and assign the lowercase version of the string input
.In JavaScript, you can use the
.toLowerCase()
method to convert all letters in a string to lowercase.For example:
'HELLO'.toLowerCase()
returns 'hello'
.Premium
JavaScript
Console