Forwarding `return()` in generators

Brendan Eich brendan at mozilla.org
Thu Mar 26 01:02:11 UTC 2015


Axel Rauschmayer wrote:
> Right. Always closing is much simpler. Otherwise, you’d have to check 
> whether everything was exhausted or not.

This is by design, FWIW.

/be


More information about the es-discuss mailing list