JavaScript문자열toLowerCase

toLowerCase문자열

문자열을 소문자로 변환합니다.

문법

str.toLowerCase()

예제

아래 값을 입력하면 예제에 즉시 반영됩니다.

const
console
toLowerCase
const text = "Hello WORLD";
console.log(text.toLowerCase());   // "hello world"