top | item 45772055 (no title) LogicHound | 4 months ago `var` doesn't have weird scoping issues, it just different than other languages. `var` is function scoped, thus all var declarations are hoisted to the top of the function during execution.This is why the single var pattern used to be recommended. discuss order hn newest No comments yet.
No comments yet.