Bump to v4.12.0.

This commit is contained in:
John-David Dalton
2016-05-07 11:49:46 -07:00
parent ccdfca5392
commit 6f47eae67b
121 changed files with 17293 additions and 834 deletions

View File

@@ -21,9 +21,8 @@ define(['./_arrayEachRight', './_baseEachRight', './_baseIteratee', './isArray']
* // => Logs `2` then `1`.
*/
function forEachRight(collection, iteratee) {
return (typeof iteratee == 'function' && isArray(collection))
? arrayEachRight(collection, iteratee)
: baseEachRight(collection, baseIteratee(iteratee));
var func = isArray(collection) ? arrayEachRight : baseEachRight;
return func(collection, baseIteratee(iteratee, 3));
}
return forEachRight;