Invoke trap

Brandon Benvie bbenvie at
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
> 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: <>

More information about the es-discuss mailing list