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

Why do your docs use `var` for variable declarations?


Because the docs have been written 4 years ago, and back then const and let weren’t widely used.

The upcoming documentation for V4 has been completely rewritten with up to date JavaScript.




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

Search: