DEV Community

Discussion on: Back to Basics - JavaScript Hoisting 101

Collapse
shogogan profile image
Victor Homem Heck

Nice article!
Just got confused with the var/let prints, had to test it to check how it works prefectly.

It would be nicer if the prints had the same lines, just changing var to let.

Aside of that, this helped me understand some things!

Thanks for sharing!

Collapse
mollynem profile image
Molly Nemerever Author

Great feedback, Victor! I think I'll add an additional image showing the same lines with var/let.