1 | import baseFor from './_baseFor.js';
|
2 | import keys from './keys.js';
|
3 |
|
4 | /**
|
5 | * The base implementation of `_.forOwn` without support for iteratee shorthands.
|
6 | *
|
7 | * @private
|
8 | * @param {Object} object The object to iterate over.
|
9 | * @param {Function} iteratee The function invoked per iteration.
|
10 | * @returns {Object} Returns `object`.
|
11 | */
|
12 | function baseForOwn(object, iteratee) {
|
13 | return object && baseFor(object, iteratee, keys);
|
14 | }
|
15 |
|
16 | export default baseForOwn;
|