Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

lski

Member since
lski

Recent Docs Activity

View all activity
Page Date Comment

Iterators and generators


Swapped the generator comprehensions round as per Generator Comprehensions ES7 comprehensions start with "for" instead of the assignment expression. e.g. Old: (i * 2 for (i of numbers)) New: (for (i of numbers) i * 2)