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

Bind substitutes `this`, not global scope. With function envs you can write functions like function () {a += 1} and have it increment `a` in some object.


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

Search: