Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80742 views
1
var baseForOwn = require('./baseForOwn'),
2
createBaseEach = require('./createBaseEach');
3
4
/**
5
* The base implementation of `_.forEach` without support for callback
6
* shorthands and `this` binding.
7
*
8
* @private
9
* @param {Array|Object|string} collection The collection to iterate over.
10
* @param {Function} iteratee The function invoked per iteration.
11
* @returns {Array|Object|string} Returns `collection`.
12
*/
13
var baseEach = createBaseEach(baseForOwn);
14
15
module.exports = baseEach;
16
17