es-discuss Digest, Vol 97, Issue 31

Eric Elliott eric at
Fri Mar 6 01:19:01 UTC 2015

>    5. Re: How to fix the `class` keyword (Allen Wirfs-Brock)
> One of those possible enhancement that has been talked about is to
> implicitly treat a [[Call]] of a class constructor as an implicit 'new',
> just like you are suggesting.

Doesn't this need to be configurable, and Brendan Eich suggested?

If implicit `new` is the only behavior, it blocks the factory refactor

If skipping the `new` treatment is the only behavior, it breaks backward
compatibility with constructors expecting the `new` treatment.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list