Scoped binding of a method to an object

Andrea Giammarchi andrea.giammarchi at gmail.com
Tue Oct 15 16:20:29 PDT 2013


uhm, never mind, I got it now. Borrowing functions avoiding call/apply
looks good.

Best Regards


On Tue, Oct 15, 2013 at 4:17 PM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> wrote:

> wait ... what ?
>
>
> On Tue, Oct 15, 2013 at 2:00 PM, Russell Leggett <
> russell.leggett at gmail.com> wrote:
>>
>>
>> obj::fun(a,b) is not the same as fun(obj,a,b). Its fun.call(obj,a,b).
>>
>
>
> isn't this basically the equivalent of obj->fun then ? (yes, the other
> arrow that was an arrow too far)
>
> Thanks for clarification
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131015/decba6fc/attachment.html>


More information about the es-discuss mailing list