String.prototype.toLocaleLowerCase

Returns a string where all alphabetic characters have been converted to lowercase, taking into account the host environment’s current locale.

Syntax

toLocaleLowerCase()

Return value

A string.

Examples

"HELLO".toLocaleLowerCase()
"hello"