_.reduceRight(数组或对象迭代累加后的结果)
_.reduceRight(collection, [iteratee=_.identity], [accumulator])var array = [[0, 1], [2, 3], [4, 5]];
_.reduceRight(array, function(flattened, other) {
return flattened.concat(other);
}, []);
// => [4, 5, 2, 3, 0, 1]Last updated