Bump to v4.12.0.

This commit is contained in:
John-David Dalton
2016-05-07 12:00:39 -07:00
parent ddde027fd9
commit dbe6a9008c
127 changed files with 1258 additions and 1116 deletions

View File

@@ -24,9 +24,8 @@ var arrayEachRight = require('./_arrayEachRight'),
* // => 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));
}
module.exports = forEachRight;