01:21 | <sarahghp> | What does "keep the obj receiver around" mean in this case? |
01:27 | <sarahghp> | Well looking at the diagram examples, it seems like receiver is the method owner or the context passed as this in .bind(this) or .call(this) if it is different from the owner. Why then does arr.map(obj.meth~(?)) not keep it around? |
01:58 | <jschoi> | Tab is saying that arr.map(obj.method~(?)) does keep obj around—but also is saying that arr.map(obj.method) does not.(Of course, arr.map(el => obj.meth(el)) keeps obj around too.) |
02:57 | <ljharb> | it's also solved by bind-this arr.map(obj::method) |