JavaScript Hoisting Explained: How var, let, and const Work
Hoisting in JavaScript
Hoisting is a behavior in which variable and function declarations are moved (or "hoisted") to the top of their containing scope (either the global scope or function scope) before the code is executed. This means that you can u...
nishanthan.hashnode.dev4 min read