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 line
455 B

4 年之前
  1. var baseForOwn = require('./_baseForOwn'),
  2. createBaseEach = require('./_createBaseEach');
  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. module.exports = baseEach;