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

True, but the question was whether JS had any native ways to support modules, and closures are literally right there. That's a good way to start them. Add more shit on top to make it robust, but they're still there.


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

Search: