_baseForOwnRight.js 486 B

1234567891011121314151617
  1. var baseForRight = require('./_baseForRight'),
  2. keys = require('./keys');
  3. /**
  4. * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
  5. *
  6. * @private
  7. * @param {Object} object The object to iterate over.
  8. * @param {Function} iteratee The function invoked per iteration.
  9. * @returns {Object} Returns `object`.
  10. */
  11. function baseForOwnRight(object, iteratee) {
  12. return object && baseForRight(object, iteratee, keys);
  13. }
  14. module.exports = baseForOwnRight;