Files
lodash/.internal/baseEach.js
2017-01-10 00:45:05 -08:00

15 lines
431 B
JavaScript

import baseForOwn from './.internal/baseForOwn.js';
import createBaseEach from './.internal/createBaseEach.js';
/**
* The base implementation of `forEach`.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array|Object} Returns `collection`.
*/
const baseEach = createBaseEach(baseForOwn);
export default baseEach;