How to convert a JavaScript String to lowercase

Caution: Audio will begin with an Ad (Music)!!

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!
Click to rate this post!
[Total: 5 Average: 5]

Recommended Articles

Leave a Reply

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

Pin It on Pinterest