ES6 Array.reduce() ponyfill
npm install ponyfill-array-reduce> ES6 Array.reduce() ponyfill
> Ponyfill: A polyfill that doesn't overwrite the native method
```
$ npm install ponyfill-array-reduce --save
`js`
var reduce = require('ponyfill-array-reduce');
[4, 6, 7, 12].reduce(function(a, b) {
return a + b;
});
//=> 29
`js``
var reduce = require('ponyfill-array-reduce');
[[4, 6], [7, 12]].reduce(function(a, b) {
return a.concat(b);
});
//=> [4, 6, 7, 12]
MIT © Colin Milhench