String.prototype.toLocaleLowerCasebeginner'HELLO'.toLocaleLowerCase() // β 'hello'
'WORLD'.toLocaleLowerCase() // β 'world'
'ABC123'.toLocaleLowerCase() // β 'abc123'Use toLocaleLowerCase() to convert a string to lowercase using the locale-specific rules of the host environment.
str.toLocaleLowerCase() converts a string to lowercase using the host locale's rules. For ASCII strings, the result is deterministic and identical to toLowerCase().
Challenge: Implement localeLower(str) that converts the string to lowercase.
localeLower('HELLO') // β 'hello'