string.toLowerCase()
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."Syntax
str.toLowerCase()Return value
ํธ์ถ ๋ฌธ์์ด ๊ฐ์ ์๋ฌธ์๋ก ๋ณํํ ์๋ก์ด ๋ฌธ์์ด์ด๋ค.
Description
toLowerCase() ๋ฉ์๋๋ ์๋ฌธ์๋ก ๋ณํ๋ ๋ฌธ์์ด ๊ฐ์ ๋ฐํํ๋ค. toLowerCase() ๋ฉ์๋๋ ๋ฌธ์์ด str ์์ ์ ๊ฐ์๋ ์ํฅ์ ์ฃผ์ง ์๋๋ค.
Examples
toLowerCase() ๋ฉ์๋ ์ฌ์ฉํ๊ธฐ
'ALPHABET'.toLowerCase(); // "alphabet"Last updated
Was this helpful?