@@new

Tom Van Cutsem tomvc.be at gmail.com
Tue Jun 17 23:04:54 PDT 2014


I really like this proposal.

2014-06-17 21:32 GMT+02:00 C. Scott Ananian <ecmascript at cscott.net>:

> +1.
>
> I think you could also remove the 'construct' handler in Proxy
> (
> http://people.mozilla.org/~jorendorff/es6-draft.html#sec-construct-internal-method
> step 4), as the @@new method can be handled with the usual proxy
> method dispatch mechanism.  I'll leave it to someone who better
> understands Proxies to give the details.
>

That's what Jason meant by getting rid of the `construct` trap.

cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140618/7d335a05/attachment.html>


More information about the es-discuss mailing list