I really like this proposal.

2014-06-17 21:32 GMT+02:00 C. Scott Ananian <[email protected]>:

> +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
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to