Hoisting in Javascript
What is Hoisting in JS?
Hoisting in Javascript is a behavior in which a function or variable can be used before declaration. It is the default behavior of javascript to move declarations to the top.
Variable Hoisting
Regarding variables and constants...
spy.hashnode.dev2 min read