How to use the es6-iterator/array function in es6-iterator

To help you get started, we’ve selected a few es6-iterator examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github paypal / paypal-checkout-components / src / compat / polyfill.js View on Github external
Array.prototype[Symbol.iterator] = function iterator() { // eslint-disable-line
        return new ArrayIterator(this);
    };
}

es6-iterator

Iterator abstraction based on ES6 specification

MIT
Latest version published 7 years ago

Package Health Score

65 / 100
Full package analysis