instantiating generators

Brendan Eich brendan at
Fri Mar 15 15:48:06 PDT 2013

I don't know what you meant below in the first paragraph, but I'm going 
to assume you agree that 'new' should not be required for generators. :-|.


Andrea Giammarchi wrote:
> (sorry, I sent by accident) I meant native requires `new` and there is 
> already a subset, generators, that are flexible as native constructors 
> are now (e.g. Object() instead of new Object())
> anyway, better than "mandatory `new`" so ...

More information about the es-discuss mailing list