๋ชฉ๋ก2022/01/09 (2)
whatisthis?
โ ํผ๊ทธ๋ง(figma) ๋? https://www.figma.com/ Figma: the collaborative interface design tool. Build better products as a team. Design, prototype, and gather feedback all in one place with Figma. www.figma.com - ์น ๊ธฐ๋ฐ UI/UX ๋์์ธ ๋ฐ ํ๋กํ ํ์ดํ ํด. - ๋ฌด๋ฃ ํ๋ก๊ทธ๋จ์์๋ ๋ถ๊ตฌํ๊ณ ์ด๋๋น XD, ์ค์ผ์น ๋ฑ์ ๊ฟ๋ฆฌ์ง ์๊ฑฐ๋ ์คํ๋ ค ๋ ๋์ ์ฑ๋ฅ์ ๋ณด์ฌ์ค. - ํ ํ๋ฉด์์ ๋์์ธ / ํฌ๋กํ ํ์ดํ / ์ฝ๋ ๋ชจ๋ ํ์ธ ๊ฐ๋ฅ. (์ฌ์ธ์ ํด) - ์น ๊ธฐ๋ฐ ํด์ด๋ผ ์ค์น๊ฐ ๋ฐ๋ก ํ์์์ผ๋, ๋ค์ดํฐ๋ธ ์ฑ๋ ์ง์์ค. - ์ ์ฅ์ด ์กด์ฌํ์ง ์์. ์์ ์ ํ๋ ์๊ฐ๋ง..
ํจ์์ ๋ฉ์๋ ์ค ์ค์ํ ๊ฒ์ call, apply, bind ์ด๋ค. ์๋ ํจ์๋ ์ ์ธํ ํ ํธ์ถ์ ํด์ผ ์คํ๋๋ค. ๐ก call๊ณผ apply ํจ์ ๋ค์ ()๋ฅผ ๋ถ์ call ๊ณผ apply call์ ๋ณดํต ํจ์์ ๋๊ฐ์ด ์ธ์๋ฅผ ๋ฃ์ apply๋ ์ธ์๋ฅผ ํ๋์ ๋ฐฐ์ด๋ก ๋ฌถ์ด ๋ฃ์ let example = (a,b,c => a+b+c); // example ํจ์ ์ ์ธ example.call(null, 1, 2, 3); example.apply(null, [1, 2, 3]); ** call๊ณผ apply๊ฐ ๊ณตํต์ ์ผ๋ก ๊ฐ์ง null์ธ์์ ์ญํ ์? this๋ฅผ ๋์ฒดํ๋ ๊ฒ. var obj = { string: 'zero', yell: function() { alert(this.string); } }; var obj2 =..