MDN’s new design is in Beta! A sneak peek:


Member since

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)