_baseEachRight.js 491 B

123456789101112131415
  1. var baseForOwnRight = require('./_baseForOwnRight'),
  2. createBaseEach = require('./_createBaseEach');
  3. /**
  4. * The base implementation of `_.forEachRight` 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 baseEachRight = createBaseEach(baseForOwnRight, true);
  12. module.exports = baseEachRight;