Skip to main content
Version: 3.27.2

String.prototype.toLowerCase()

The toLowerCase() method returns the calling string value converted to lower case.

Syntax

toLowerCase()

Return value

A new string representing the calling string converted to lower case.

Description

The toLowerCase() method returns the value of the string converted to lower case. toLowerCase() does not affect the value of the string str itself.