Re:“This” in JavaScript
by xanderjanz on Monday December 08, 2014 @04:50PM
(#8719434)
The way I think about it ('this' being like any other object), closures are just supplied a default 'this' object (window, in the case of web), and instead of providing a this argument via the argument list, you can choose it with the apply/call/bind functions.
[ Parent
| on HN ]
There are no comments on this comment yet.