Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

cmilhench/ponyfill-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ES6 Array ponyfills

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published