How to convert a JavaScript String to lowercase


JavaScript provides an in-built function to achieve the conversion via toLowerCase() , using this function we can convert a JavaScript string into lowercase.

const str = "HAPPY NEW YEAR 2020!";


happy new year 2020!

Stop visitors from leaving your site!

Hit Like if this article was useful to you!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

Your email address will not be published. Required fields are marked *