How we built it

JS iterators (i.e. the for-of feature) (ES6)

Iterates over iterable objects (including arrays, array-like objects, iterators and generators), invoking a custom iteration hook with statements to be executed for the value of each distinct property.

Demo

Documentation

Specification

Established standard

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 38
  • Chrome for Android release 38
  • Opera release 25
  • Opera for Android release 25

Consensus & Standardization

Owner

Last updated on 2016-01-27