aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_baseForOwnRight.js
blob: a4b10e6c593ff9a009e17f4e02cca09235d38dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var baseForRight = require('./_baseForRight'),
    keys = require('./keys');

/**
 * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
 *
 * @private
 * @param {Object} object The object to iterate over.
 * @param {Function} iteratee The function invoked per iteration.
 * @returns {Object} Returns `object`.
 */
function baseForOwnRight(object, iteratee) {
  return object && baseForRight(object, iteratee, keys);
}

module.exports = baseForOwnRight;