On Fri 13 Jun 2014 08:35, Isiah Meadows <[email protected]> writes:
> Would array and generator comprehensions in Harmony support functions > returning void (i.e. functions with either `return;` or an implicit > return) being called in the AssignmentOperator part of the Comprehension > statement, like a forEach combined with map, or would it throw an error, > making it effectively syntactic sugar for Array.prototype.map()? It is tough to know what you are asking without an example. If you would like to try it yourself, Firefox 30 has comprehensions as currently specified. It seems likely comprehensions get punted, though (not that I think this is the right thing ;). Andy _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

