diff options
Diffstat (limited to 'build/modules-es6/reduce.js')
-rw-r--r-- | build/modules-es6/reduce.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/build/modules-es6/reduce.js b/build/modules-es6/reduce.js deleted file mode 100644 index 4961aa8..0000000 --- a/build/modules-es6/reduce.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -import eachOfSeries from './eachOfSeries'; - -export default function reduce(arr, memo, iterator, cb) { - eachOfSeries(arr, function (x, i, cb) { - iterator(memo, x, function (err, v) { - memo = v; - cb(err); - }); - }, function (err) { - cb(err, memo); - }); -}
\ No newline at end of file |