DDDiksha Dhoteindikshadhote.hashnode.dev·Jun 7, 2022 · 2 min readClosure in JSThe closure is a function that is bound together with its lexical environment. Lexical environment is an environment where the function can access a variable declared in its parent environment Closure gives access to scope of outer function from inn...00
DDDiksha Dhoteindikshadhote.hashnode.dev·Jun 6, 2022 · 3 min readwhat lead to the creation of let, const identifier in JS?In this article we will see : How JavaScript engine allocates memory and value to variables in different phases? Scope of variables in JavaScript Hoisting of var Hoisting of let , const How the JavaScript engine allocates memory and value to variab...00
DDDiksha Dhoteindikshadhote.hashnode.dev·Jan 14, 2022 · 2 min readRest Vs Spread operator in JavaScript, What's the difference?When we see rest and spread operator, what we see is both have three dots like this ... so aren't they are same? if not, then what makes them different? Let's see, Rest as the name suggests, it will have all the parameters which are remaining from ...00