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

Var wasn't "a mistake", and there's still (albeit niche) use cases where var makes sense. But for most cases, you do want to write a let/const declaration, even though they're not "free" technically.




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

Search: