The String toLowerCase() method
By Flavio Copes
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.
~~~
Related posts about js: