JavaScript Glossary - Lesson #28

JavaScript String .toLowerCase() Method

The toLowerCase() String method converts a string object to lower case. The return value of the method is the value of the calling string in lower case.

js
""yeaH Yeah YEAH yaaaaS"".toLowerCase();
//""yeah yeah yeah yaaaas""
js
const lowerCaseString = string.toLowerCase()

This method returns the calling string value in lower case.

Want to improve your coding and design skills?

I'm continually researching the best practices and tools for coding.
Join 50,000+ developers looking to make cool stuff.

We value your privacy. 1-click unsubscribe.

Chris Sev

Chris Sev

Chris Sev is the co-founder of Better Dev. Coding better every day. Previously he created Scotch.io which was acquired.

Comments

What did you think of the article? Let us know!
(these comments are powered by GitHub issues and use 0 trackers)