Jason Orendorff jason.orendorff at
Thu Jun 12 11:31:57 PDT 2014

On Thu, Jun 12, 2014 at 1:30 PM, Jason Orendorff
<jason.orendorff at> wrote:
> I *really* wish we just had an @@new for this, such that
>     new C(...args)
> is just shorthand for
>    C[](...args)
> and the construct trap could be removed from proxies altogether.  :-|

I forgot to add: then the rare code that really wants to ask "is x a
constructor?" can say
    if (x[] !== undefined) ...
like Array.from does for @@iterator.


More information about the es-discuss mailing list