3 ms·
Where do you find yourself needing such a thing? I never rely on `this` unless I'm inside of a $.each call because it's so implicit and error prone. If you're
by natrius 17y ago
Where do you find yourself needing such a thing? I never rely on `this` unless I'm inside of a $.each call because it's so implicit and error prone.
If you're trying to use bind with a function that you've written, I'd say just rewrite it to not use `this`. It'll make it clearer. If it's a function from some library, complain, then do something similar to the last example from the article, though it seems more complicated than it needs to be.