Closure 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...Jun 7, 2022 · 2 min readdikshadhote.hashnode.dev
what 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...Jun 6, 2022 · 3 min readdikshadhote.hashnode.dev
Rest 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 ...Jan 14, 2022 · 2 min readdikshadhote.hashnode.dev