3 ms·
Hoisting in JavaScript
- GaurVimen 7y agoThe examples switch between using let/var which is what actually causes hoisting to occur and doesn't explain that at all. I feel like if you didn't know what hoisting is and read this article you'd walk away with a really poor understanding of what's going on I hope this doesn't discourage sharing things like this.. I know sometimes the best way to learn something is to try and teach it.