profile
Frontend Developer ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป

JavaScript - Truthy, Falsy

์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ๋Š” boolean ์ž๋ฃŒํ˜•์ด ์•„๋‹Œ ์ž๋ฃŒํ˜•์„ boolean ๊ฐ’์œผ๋กœ ๋ณ€ํ™˜ํ•œ๋‹ค. ์กฐ๊ฑด๋ฌธ, ๋ฐ˜๋ณต๋ฌธ ๋“ฑ boolean์ด ํ•„์š”ํ•œ ์ƒํ™ฉ์—์„œ boolean ์€ ์•„๋‹ˆ์ง€๋งŒ ๊ทธ ๊ฐ’์— ํ•ด๋‹นํ•˜๋Š” ๋ถˆ๋ฆฌ์–ธ์œผ๋กœ ๋ณ€ํ™˜ํ•˜์—ฌ ์‹คํ–‰ํ•œ๋‹ค.truthy ๋Š” ์ฐธ๊ณผ ๊ฐ™์€ ๊ฐ’์ด๋ฉฐ falsy๋Š” ๊ฑฐ์ง“๊ณผ ๊ฐ™์€

2021๋…„ 2์›” 5์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€