Quick Notes to prepare for JS heavy Interviews (like React and React Native)
Term | Meaning / Other details |
---|---|
Hoisting | Variable declarations are put into memory during the compile phase In simple words, Hoisting means moving variable declarations to the top of their scope. |
Scope | The scope is the current context of execution in which values and expressions are "visible" or can be referenced. |
Closure | It is the combination of a function bundled together with references to its surrounding state (Lexical Environment) |
Temporal Dead Zone (TDZ) | A variable declared with let , const , or class is said to be in a"temporal dead zone" (TDZ) from the start of the block, till codeexecution reaches the line where variable is declared and initialized. |
Topic | Source Link |
---|---|
Javascript | Mozilla Developer Networks (MDN) Codevolution Course Dave Ceddia's Blog Vasanth Bhat's Medium Blog Vasanth Bhat's YT |
Markdown | Markdown Guide |