Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you think of `var` as a syntactic sugar for a `let` declaration that gets hoisted to the top of its containing function, `let` actually simplifies scoping.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: