summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/lodash/internal/baseForOwnRight.js
blob: bb916bc75a0f7bc3aaebd17246cc5d44d5bbef30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
var baseForRight = require('./baseForRight'),
    keys = require('../object/keys');

/**
 * The base implementation of `_.forOwnRight` without support for callback
 * shorthands and `this` binding.
 *
 * @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 baseForRight(object, iteratee, keys);
}

module.exports = baseForOwnRight;