
์น์ 9:Asynchronous JavaScript 132. Section Overview //1 setTimeout(()=>{console.log('1', 'is the loneliest number')}, 0) setTimeout(()=>{console.log('2', 'can be as bad as one')}, 10) //2 Promise.resolve('hi').then((data)=> console.log('2', data)) //3 console.log('3','is a crowd') // --output-- // 3 is a crowd // 2 hi // Promise // -- program return undefined -- // 1 is the loneliest number // se..

** โ priv | ๊ฐ์๋ ธํธ ์นดํ ๊ณ ๋ฆฌ์ ์๋ ๋ด์ฉ์ ๋ฐํ์ด ๋ชฉ์ ์ด ์๋๊ธฐ ๋๋ฌธ์ ์ ํ ์ ์ ๋์ด์์ง ์์ต๋๋น.** ์น์ 3:Javascript Foundation II 29. Execution Context Creation Phase argument object created with any arguments initializes this keyword to point called or to the global object if not specified Executing Phase Variable Environment created - memory space for variable and functions created initializes all variables to undefined and plac..

** โ priv | ๊ฐ์๋ ธํธ ์นดํ ๊ณ ๋ฆฌ์ ์๋ ๋ด์ฉ์ ๋ฐํ์ด ๋ชฉ์ ์ด ์๋๊ธฐ ๋๋ฌธ์ ์ ํ ์ ์ ๋์ด์์ง ์์ต๋๋น.** ์น์ 15:Appendix II: Intermediate Javascript 207. Advanced Functions Closures a function ran. the function executed. It’s never going to execute again. BUT it’s going remember that there reference to those variables. so the child scope always access to the parent scope. Currying const multiply = (a,b) => a*b; const curriedMultiply = (..
** โ priv | ๊ฐ์๋ ธํธ ์นดํ ๊ณ ๋ฆฌ์ ์๋ ๋ด์ฉ์ ๋ฐํ์ด ๋ชฉ์ ์ด ์๋๊ธฐ ๋๋ฌธ์ ์ ํ ์ ์ ๋์ด์์ง ์์ต๋๋น.** 11. Inside the V8 Engine V8 ์์ง์ C++๋ก ์์ฑ๋จ ๊ตฌ๊ธ ํฌ๋กฌ, Node JS ์์ ์ฌ์ฉ V8์์ง ์๋์๋ฆฌ? JS ์์ค์ฝ๋ → Parser ๊ฐ ์์ค์ฝ๋๋ฅผ ๋ถ์ํด์ AST _(Abstract Syntax Tree - ์ถ์๊ตฌ๋ฌธํธ๋ฆฌ : ์ปดํ์ผ๋ฌ์์ ๋ง์ด ์ฌ์ฉํ๋ ์๋ฃ๊ตฌ์กฐ)_๋ก ๋ณํ - ์ด๋ scope๋ ํ์ฑ๋๋ค๊ณ ํจ AST๋ฅผ ๊ฐ์ ธ๊ฐ๋ค๊ฐ ignition ( V8 interpreter ) ํํ ๋๊ธฐ๊ณ ์๊ฐ JS์ฝ๋๋ฅผ ๋ฐ์ดํธ์ฝ๋ ( Bytecode ) ๋ก ๋ณํ Profiler ๋ ์ด ์ค ์์ ์์ฃผ ์ฐ์ด๋ ์ฝ๋๋ฅผ ์ฐพ์(ํจ์,๋ณ์์ ํธ์ถ๋น๋๋ฅผ ๋ชจ์์) ๊ทธ๊ฑธ ๋ค๊ณ TurboFan (์ต์ ํ..
** โ priv | ๊ฐ์๋ ธํธ ์นดํ ๊ณ ๋ฆฌ์ ์๋ ๋ด์ฉ์ ๋ฐํ์ด ๋ชฉ์ ์ด ์๋๊ธฐ ๋๋ฌธ์ ์ ํ ์ ์ ๋์ด์์ง ์์ต๋๋น.** ์น์ 7. Set & WeakSet set : ์ค๋ณต์์ด ์ ์ผํ ๊ฐ์ ์ ์ฅํ๋ ค๊ณ ํ ๋, ์ด๋ฏธ ์กด์ฌํ๋์ง ์ฒดํฌํ ๋ ์ ์ฉ! let mySet = new Set(); mySet.add("A"); mySet.add("๋"); mySet.add(3); console.log(toString.call(mySet)); // ํ์ ์ฒดํฌ : "[object Set]" console.log(mySet); // Set(3) {"A", "๋", 3} console.log(mySet.has("A")); // true console.log(mySet.has(1)); // false mySet.delete("๋"); c..
- ์ฝ๋ฉ๋ถํธ์บ ํ
- array
- ์์ฑ์ํจ์
- ๋ฐ๋๋ผ์ฝ๋ฉ ํ๊ธฐ
- KEYBOARD
- eslint
- css
- HTML
- eventlistener
- DOM
- GIT
- ๋ฐ๋๋ผ์ฝ๋ฉ
- book
- ๋ถํธ์บ ํ
- js
- Stash
- VSC
- stackoverflow
- string
- review
- Total
- Today
- Yesterday