ponyfill-array-find
v1.0.1
Published
ES6 Array.find() ponyfill
Downloads
43
Readme
ponyfill-array-find
ES6
Array.find()
ponyfill
Ponyfill: A polyfill that doesn't overwrite the native method
Install
$ npm install ponyfill-array-find --save
Usage
var proxyfn = require('ponyfill-array-find');
[4, 5, 8, 12].find(isPrime);
//=> 5
License
MIT © Colin Milhench