aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_baseEach.js
blob: 512c0676827c9aaf8c689216d64859ef8c7e839a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var baseForOwn = require('./_baseForOwn'),
    createBaseEach = require('./_createBaseEach');

/**
 * The base implementation of `_.forEach` without support for iteratee shorthands.
 *
 * @private
 * @param {Array|Object} collection The collection to iterate over.
 * @param {Function} iteratee The function invoked per iteration.
 * @returns {Array|Object} Returns `collection`.
 */
var baseEach = createBaseEach(baseForOwn);

module.exports = baseEach;