mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Bump to v4.0.1.
This commit is contained in:
@@ -26,9 +26,9 @@ var arrayReduceRight = require('./internal/arrayReduceRight'),
|
||||
*/
|
||||
function reduceRight(collection, iteratee, accumulator) {
|
||||
var func = isArray(collection) ? arrayReduceRight : baseReduce,
|
||||
initFromCollection = arguments.length < 3;
|
||||
initAccum = arguments.length < 3;
|
||||
|
||||
return func(collection, baseIteratee(iteratee, 4), accumulator, initFromCollection, baseEachRight);
|
||||
return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);
|
||||
}
|
||||
|
||||
module.exports = reduceRight;
|
||||
|
||||
Reference in New Issue
Block a user