blob: 512c0676827c9aaf8c689216d64859ef8c7e839a [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001var 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;