Skip to content
FLAVIO COPES
flaviocopes.com

The String toLowerCase() method

By

Learn how the JavaScript toLowerCase() method returns a new string with all the text in lower case, without mutating the original or taking any parameter.

~~~

Return a new string with the text all in lower case.

Does not mutate the original string.

Does not accept any parameter.

Usage:

'Testing'.toLowerCase() //'testing'

Works similarly to toLocaleLowerCase(), but does not consider locales at all.

Tagged: JavaScript ยท All topics
~~~

Related posts about js: