_baseFor.js 593 B

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