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