UNPKG

@ungap/array-iterator

Version:

An essential Array.prototype[Symbol.iterator] polyfill for legacy browsers.

14 lines (8 loc) 974 B
# Array iterator [![Build Status](https://travis-ci.com/ungap/array-iterator.svg?branch=master)](https://travis-ci.com/ungap/array-iterator) [![Coverage Status](https://coveralls.io/repos/github/ungap/array-iterator/badge.svg?branch=master)](https://coveralls.io/github/ungap/array-iterator?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/array-iterator.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg) 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/)