baseForOwnRight.js 505 B

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