Hoisting in JavaScript
When it comes to hoisting, there's a lot of confusion among web devs. Many of them explain it as the property of JavaScript which moves the code to the top of our command. But is that really so?
To understand it better and take a deep dive into this ...
gautamkiran.hashnode.dev3 min read
Akshay
Curious Software Developer
I guess there is typo in below line.
Should be var instead of let