Why do generator expressions return generators?

Allen Wirfs-Brock allen at wirfs-brock.com
Fri Sep 6 09:59:10 PDT 2013

On Sep 6, 2013, at 9:04 AM, Brendan Eich wrote:

> I keep forgetting how the ES6 draft uses "generator comprehension", not "generator expression" (the latter is a generator function expression). Contrast with Python.

Perhaps "iterator comprehension" would be better terminlogy.


More information about the es-discuss mailing list