@ungap/array-iterator
Version:
An essential Array.prototype[Symbol.iterator] polyfill for legacy browsers.
14 lines (8 loc) • 974 B
Markdown
# Array iterator
[](https://travis-ci.com/ungap/array-iterator) [](https://coveralls.io/github/ungap/array-iterator?branch=master) [](https://greenkeeper.io/) 
An essential [Array Symbol.iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/@@iterator) polyfill for legacy browsers.
* CDN via https://unpkg.com/@ungap/array-iterator
* ESM via `import iterator from '@ungap/array-iterator'`
* CJS via `const iterator = require('@ungap/array-iterator')`
Compatible down to IE9, works well with ES5 shim upfront in IE8 (and maybe lower too).
[Live test](https://ungap.github.io/array-iterator/test/)