es-discuss Digest, Vol 97, Issue 31
eric at paralleldrive.com
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...
More information about the es-discuss