Typo in direct proxy proposal for the apply trap

David Bruant bruant.d at gmail.com
Sun Sep 2 11:52:56 PDT 2012

Le 02/09/2012 20:38, Rick Waldron a écrit :
> On Sun, Sep 2, 2012 at 1:57 PM, David Bruant <bruant.d at gmail.com
> <mailto:bruant.d at gmail.com>> wrote:
>     Hi,
>     In the proxy proposal, one can read the following signature for the
>     apply trap:
>     apply:  function(target,receiver,args) -> any
>     But the "receiver" doesn't make much sense to me. Is it just a typo or
>     am I missing something?
> Based on the older proposals, the receiver is a thisArg that is
> usually just a reference to the Proxy
Ok, it makes a lot of sense. I think I had been confused by the example
"proxy(...args)". It probably should be something like
"proxy.apply(receiver, args)" to refer to receiver.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120902/8d40286c/attachment.html>

More information about the es-discuss mailing list