test/node_modules/lodash/internal/baseForOwnRight.js
2018-12-13 14:35:49 +01:00

18 lines
505 B
JavaScript

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;