3 ms·
Can't you `function.bind(context, ...)` or am i misunderstanding
by queenkjuul 2y ago
Can't you `function.bind(context, ...)` or am i misunderstanding
- wruza 2y agoBind substitutes `this`, not global scope. With function envs you can write functions like function () {a += 1} and have it increment `a` in some object.