Files
lodash/.internal/baseForOwn.js
John-David Dalton aa60e55db4 Update module paths.
2017-01-11 10:06:12 -08:00

17 lines
412 B
JavaScript

import baseFor from './baseFor.js';
import keys from '../keys.js';
/**
* The base implementation of `forOwn`.
*
* @private
* @param {Object} object The object to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Object} Returns `object`.
*/
function baseForOwn(object, iteratee) {
return object && baseFor(object, iteratee, keys);
}
export default baseForOwn;