toLowerCase() 메서드는 호출 문자열 값을 소문자로 변환하여 반환한다.
const sentence = 'The whiskers of a cat are highly sensitive to touch.';
sentence.toLowerCase(); // "the whiskers of a cat are highly sensitive to touch."str.toLowerCase()호출 문자열 값을 소문자로 변환한 새로운 문자열이다.
toLowerCase() 메서드는 소문자로 변환된 문자열 값을 반환한다. toLowerCase() 메서드는 문자열 str 자신의 값에는 영향을 주지 않는다.
'ALPHABET'.toLowerCase(); // "alphabet"