ponyfill-array-findindex

1.0.0 • Public • Published

ponyfill-array-findIndex

Build Status

ES6 Array.findIndex() ponyfill

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

Install

$ npm install ponyfill-array-findindex --save

Usage

var findIndex = require('ponyfill-array-findindex');
[4, 6, 7, 12].findIndex(isPrime);
//=> 2

License

MIT © Colin Milhench

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    7

Package Sidebar

Install

npm i ponyfill-array-findindex

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • cmilhench