🏠 New in Low Baseline Support: Typed array iterators

September 20, 2016

caniuse · mdn · [spec]([‘https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype-@@iterator’, ‘https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.entries’, ‘https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.keys’, ‘https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.values’])

Typed arrays are iterable with the for…of statement and enumerable with the methods entries(), keys(), and values().

Source features