๐Ÿ”ฅ Today


  • [ecommerce-website]
    • detail page ๋งˆํฌ์—…, css style
    • shoes ๋ฐ์ดํ„ฐ ๊ฐ€์ ธ์˜ค๊ธฐ


  • closure

    • ํ•จ์ˆ˜์™€ ํ•จ์ˆ˜๊ฐ€ ์„ ์–ธ๋œ ์–ดํœ˜์  ํ™˜๊ฒฝ์˜ ์กฐํ•ฉ
    • ํ•จ์ˆ˜ ๋‚ด๋ถ€์—์„œ ํ•จ์ˆ˜ ์„ ์–ธ์‹œ, ๋‚ด๋ถ€์˜ ํ•จ์ˆ˜๋Š” ํด๋กœ์ €๋ผ๊ณ  ๋ถˆ๋ฆฐ๋‹ค.
    function getClosure() {
      let text = "apple";
      return function () {
        return text;
      };
    }
    
    let closure = getClosure();
    console.log(closure()); //apple
    


  • ํด๋กœ์ € ์‚ฌ์šฉ์œผ๋กœ ์–ป๋Š” ๊ฒƒ

  • ์›ํ•˜๋Š” ์‹œ์ ์— ๋‚ด๋ถ€ ํด๋กœ์ €๋ฅผ ์‹คํ–‰ ํ•  ์ˆ˜ ์žˆ๋‹ค.
  • private ๋ณ€์ˆ˜๋ฅผ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๋‹ค.


  • ํด๋กœ์ € ์‚ฌ์šฉํ›„ null ํ• ๋‹น์œผ๋กœ ํด๋กœ์ € ์ฐธ์กฐ ์ œ๊ฑฐ


๐Ÿ”ฅ To Do


  • [ecommerce-website] โฉ
  • [๋ถ€์ŠคํŠธ์ฝ”์Šค] project B
  • [Algorithm] javaScript ๋งค์ผ 1๋ฌธ์ œ ์ด์ƒ ํ’€๊ธฐ
  • [๋ถ€์ŠคํŠธ์ฝ”์Šค] CS ์ž๋ฃŒ๊ตฌ์กฐ, ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๊ฐ•์˜


  • [ByteDegree] React
  • Final Project ๋…์„œ ๊ธฐ๋ก ์„œ๋น„์Šค ๊ตฌํ˜„ํ•˜๊ธฐ โฉ