JavaScript Making Lowercase

The toLocaleLowerCase method is used to lowercase a text in JavaScript.

The usage is as follows.

var strn = "I LOVE CODING.."; document.write( strn.toLocaleLowerCase() );

The result looks like this..



You May Interest

How to Handle Exceptions in JavaScript ?

What is Console Object in Javascript ?

JavaScript Adding Elements to Array

What is this Keyword in Javascript ?

What are the Variable Naming Conventions in JavaScript ?