toLowerCase

요약
문자열 전체를 소문자로 변환 - 원래의 str에 영향을 주지 않습니다.
Tags
변환
대소문자
console.log('ALPHABET'.toLowerCase()); // 'alphabet'
const sentence = 'The quick brown fox jumps over the lazy dog.'; console.log(sentence.toLowerCase()); // expected output: "the quick brown fox jumps over the lazy dog."