mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Bump to v4.0.1.
This commit is contained in:
@@ -22,9 +22,9 @@ define(['./internal/arrayReduceRight', './internal/baseEachRight', './internal/b
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
||||
return reduceRight;
|
||||
|
||||
Reference in New Issue
Block a user