Part 3: Block Scope and the Two Pointers That Disagree
The JavaScript Environment Model — Part 3 of 4. By the end of this post you'll know exactly when the EC's two pointers diverge, why they were designed that way, and why "var is function-scoped, let is
srekaravarshan.hashnode.dev29 min read