News for hackers. Stuff that matters.
Re:Hoisting in JavaScript by GaurVimen on Monday December 16, 2019 @05:52AM (#21802203)
The 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.

There are no comments on this comment yet.