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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0

Package Sidebar

Install

npm i ponyfill-array

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • cmilhench