Hacker News new | ask | show | jobs
by fouric 1868 days ago
No, quite the opposite - `let` should be used by default (due to better scoping rules (block rather than function) for most cases) and `var` only used when necessary.
1 comments

IMO, `const` should be used by default, `let` in rare instances and `var` never.