UNPKG

591 BJavaScriptView Raw
1import createBaseFor from './_createBaseFor.js';
2
3/**
4 * The base implementation of `baseForOwn` which iterates over `object`
5 * properties returned by `keysFunc` and invokes `iteratee` for each property.
6 * Iteratee functions may exit iteration early by explicitly returning `false`.
7 *
8 * @private
9 * @param {Object} object The object to iterate over.
10 * @param {Function} iteratee The function invoked per iteration.
11 * @param {Function} keysFunc The function to get the keys of `object`.
12 * @returns {Object} Returns `object`.
13 */
14var baseFor = createBaseFor();
15
16export default baseFor;