new instantiation design alternatives

Kevin Smith zenparsing at
Wed Sep 17 07:24:48 PDT 2014

>  That's not true, is it? Assuming someone (e.g. B) actually assigns a
> property of `this`, an error will occur (or worse, a global will be
> created, in sloppy mode).

Sorry, when I say "called", I mean called with a proper "this" variable.

Under the current system, constructors work as "this" initializers, with or
without "new".  Hopefully that explains my meaning a little better.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list