Hacker News new | ask | show | jobs
by wruza 598 days ago
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.