TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hoisting in JavaScript

6 pointsby sveingjobyover 5 years ago

1 comment

GaurVimenover 5 years ago
The examples switch between using let&#x2F;var which is what actually causes hoisting to occur and doesn&#x27;t explain that at all. I feel like if you didn&#x27;t know what hoisting is and read this article you&#x27;d walk away with a really poor understanding of what&#x27;s going on<p>I hope this doesn&#x27;t discourage sharing things like this.. I know sometimes the best way to learn something is to try and teach it.