Bump to v4.16.5.

This commit is contained in:
John-David Dalton
2016-10-30 20:08:19 -07:00
parent 6778141728
commit be1e9a3170
113 changed files with 277 additions and 335 deletions

View File

@@ -1,6 +1,6 @@
import arrayEach from './_arrayEach.js';
import baseEach from './_baseEach.js';
import baseIteratee from './_baseIteratee.js';
import castFunction from './_castFunction.js';
import isArray from './isArray.js';
/**
@@ -35,7 +35,7 @@ import isArray from './isArray.js';
*/
function forEach(collection, iteratee) {
var func = isArray(collection) ? arrayEach : baseEach;
return func(collection, baseIteratee(iteratee, 3));
return func(collection, castFunction(iteratee));
}
export default forEach;