new instantiation design alternatives

Brendan Eich brendan at mozilla.org
Mon Sep 15 11:57:35 PDT 2014


Rick Waldron wrote:
> The first is also objectionable because it breaks existing implicit 
> return semantics.

Say what? Constructors can return a different object from `this`, that's 
just JS.

(Anyway the relevant comparison is verbosity of the proposal vs. 
something implicit, not a more verbose strawman.)

/be


More information about the es-discuss mailing list