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

What is go Method of History Object in Javascript ?

JavaScript Getting Absolute Value

JavaScript Taking the Square Root of a Number

JavaScript Using While Loop

What are Asynchronous Scripts in Javascript ?