Converts a string to lower case.
Lower case is the naming convention in which each word is written in lowercase and separated by an space ( ) character.
The string that is to be changed to lower case.
const convertedStr1 = lowerCase('camelCase') // returns 'camel case'const convertedStr2 = lowerCase('some whitespace') // returns 'some whitespace'const convertedStr3 = lowerCase('hyphen-text') // returns 'hyphen text'const convertedStr4 = lowerCase('HTTPRequest') // returns 'http request' Copy
const convertedStr1 = lowerCase('camelCase') // returns 'camel case'const convertedStr2 = lowerCase('some whitespace') // returns 'some whitespace'const convertedStr3 = lowerCase('hyphen-text') // returns 'hyphen text'const convertedStr4 = lowerCase('HTTPRequest') // returns 'http request'
Alias