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.

16 lines
486 B

4 years ago
  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;