Bump to v4.0.1.

This commit is contained in:
John-David Dalton
2016-01-24 18:14:43 -08:00
parent 54e7baecc3
commit 7af5d55f22
65 changed files with 210 additions and 160 deletions

View File

@@ -26,9 +26,9 @@ import isArray from './isArray';
*/
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);
}
export default reduceRight;