ponyfill-array

0.1.0 • Public • Published

ponyfill-array

Build Status

ES6 Array ponyfills

Ponyfill: A polyfill that doesn't overwrite the native method

Install

$ npm install ponyfill-array --save

Usage

[4, 6, 7, 12].find(isPrime);
//=> 7
[4, 6, 7, 12].findIndex(isPrime);
//=> 2
[4, 6, 7, 12].reduce(function(a, b) {
  return a + b;
}, 1);
//=> 30

License

MIT © Colin Milhench

/ponyfill-array/

    Package Sidebar

    Install

    npm i ponyfill-array

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • cmilhench