Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (11 sloc) 414 Bytes

String.prototype.toLowerCase()

The JavaScript method .toLowerCase() returns the same string it was called on, but in all lower case.

Syntax

str.toLowerCase()

Examples


console.log("HELLO WORLD".toLowerCase()); // Console will output "hello world"

Source MDN

Something went wrong with that request. Please try again.