Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why You Should Always Use === and Other Bad Practices. Parent comment
In JavaScript the rules for scope are clear—it's lexical scoping nested at the function level. Loops, conditionals, etc... have no bearing on scope.
There are no comments on this comment yet.
In JavaScript the rules for scope are clear—it's lexical scoping nested at the function level. Loops, conditionals, etc... have no bearing on scope.