Jason Orendorff jason.orendorff at
Thu Jun 12 11:30:02 PDT 2014

On Thu, Jun 12, 2014 at 10:06 AM, Domenic Denicola
<domenic at> wrote:
> I'd be most interested in seeing if we can remove IsConstructor entirely (except for uses where it's just a guard, implementing the semantics of `new` via IsConstructor -> [[Construct]] or throw).
> It seems like there's at least some movement toward removing it from `Array.of` and `Array.from`. All that remains is its use to preserve the `arrayInstance.constructor = undefined` backward-compatibility possibilities.

Proxies also observe it.

I *really* wish we just had an @@new for this, such that
    new C(...args)
is just shorthand for
and the construct trap could be removed from proxies altogether.  :-|


More information about the es-discuss mailing list