toLowerCase
문자열을 소문자로 변환합니다.
str.toLowerCase()
아래 값을 입력하면 예제에 즉시 반영됩니다.
const
console
const text = "Hello WORLD"; console.log(text.toLowerCase()); // "hello world"