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

A closure. That's true, but it doesn't change the behavior inside a node module at all, they already have their own contained scope, you have access to the same globals `module/exports/global/require/etc`, and `this` is preserved.


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

Search: