Standard modules?

Brendan Eich brendan at
Mon Jan 20 09:39:53 PST 2014

Allen Wirfs-Brock wrote:
> It isn't clear that there much need for a global name for 
> GeneratorFunction.  If you really eed to access it can always get it via:
>    (function *() {}).constructor

Does this present a hazard for CSP, which provides policy controls 
governing Function?

I agree we shouldn't add a global GeneratorFunction -- not without a 
pressing use-case and evidence that we can get away with adding that global.


More information about the es-discuss mailing list