You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
453 B

1 month ago
  1. import baseForOwn from './_baseForOwn.js';
  2. import createBaseEach from './_createBaseEach.js';
  3. /**
  4. * The base implementation of `_.forEach` without support for iteratee shorthands.
  5. *
  6. * @private
  7. * @param {Array|Object} collection The collection to iterate over.
  8. * @param {Function} iteratee The function invoked per iteration.
  9. * @returns {Array|Object} Returns `collection`.
  10. */
  11. var baseEach = createBaseEach(baseForOwn);
  12. export default baseEach;