Hoisting in Javascript
In JavaScript, hoisting allows you to use functions and variables before they're declared.
When the JavaScript engine executes the JavaScript code, it creates the global execution context. The global execution context has two phases:
Creation
Execu...
twinkalp10.hashnode.dev2 min read