UNPKG

453 BJavaScriptView Raw
1import baseForOwn from './_baseForOwn.js';
2import createBaseEach from './_createBaseEach.js';
3
4/**
5 * The base implementation of `_.forEach` without support for iteratee shorthands.
6 *
7 * @private
8 * @param {Array|Object} collection The collection to iterate over.
9 * @param {Function} iteratee The function invoked per iteration.
10 * @returns {Array|Object} Returns `collection`.
11 */
12var baseEach = createBaseEach(baseForOwn);
13
14export default baseEach;