Invoke trap

Brandon Benvie bbenvie at mozilla.com
Fri Jun 7 13:24:34 PDT 2013


On 6/7/2013 1:22 PM, David Bruant wrote:
> I don't see how this solves the issue related to
>     Date.prototype.getTime.call( new Proxy(new Date(), handler) )

Assuming invoke also works for call and apply, if `handler` is a 
ForwardingHandler then that should work with getTime ultimately being 
called on the real Date object as the receiver.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130607/cf4f187f/attachment.html>


More information about the es-discuss mailing list