Understanding Hoisting in Javascript
If you are new to Javascript, you might have come across the term Hoisting being talked about a lot. But what exactly is hoisting?
Let's find out with the help of some examples.
Consider the following scenarios:
console.log(a)
console.log(b)
var b =...
preetiroshan.hashnode.dev2 min read
Rajan Srivastav
Java Developer
Nicely explained. Thanks