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

In the end, you still need to deal with var.

For legacy code, yes.

But now, if you target modern browsers, you can build a whole web app using only let, and not be bothered about var and the old scope system at all.



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

Search: