Hoisting Phenomena! Every Javascript dev should know.๐ค
First, let's get it clear that hoisting is not any concept but it's a phenomenon in javascript. It tells you how javascript behaves while accessing the variables during the runtime. Hmm... Now let's take an example below -
console.log(x);
var x = 10;...
code-craft.hashnode.dev2 min read