Hoisting in JavaScript [must know concept]
Did you know that JavaScript allocates memory to all variables and functions first, even before executing the code?
Yes, that's true. And this results in a phenomenon called "hoisting" in JavaScript.
Hoisting allows us to use variables and functions ...
syedmazhar.hashnode.dev2 min read