[[Invoke]] and implicit method calls

Tom Van Cutsem tomvc.be at gmail.com
Wed Sep 18 11:52:17 PDT 2013

2013/9/18 David Bruant <bruant.d at gmail.com>

>  An alternative to p3 and p4 would be to find a solution for the
> interaction between private state and proxies that also works with:
>     Date.getMonth.call(myProxy)
> A way that would make p1 work in essence (which very naturally you listed
> as the first idea ;-) ).
> Such a solution would also make invoke unnecessary.

My example has nothing to do with private state per se. It's more generally
about forwarding proxies reliably rebinding |this| to their target.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130918/6f38b956/attachment.html>

More information about the es-discuss mailing list