ScanSkill

toLowerCase

The toLowerCase() method is used to change, given string into lowercase.

Syntax

string.toLowerCase

The toLowerCase() method attaches to the right side of a string and returns the exact string, but the character in the string is turned into lowercase.

Example

const text = 'ScaN SkilL';
console.log(text.toLowerCase()); // Prints: scan skill

The toLowerCase(), method like the name suggests changes text to lowercase.