UNPKG

455 BJavaScriptView Raw
1var baseForOwn = require('./_baseForOwn'),
2 createBaseEach = require('./_createBaseEach');
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
14module.exports = baseEach;