_baseForRight.js 477 Bytes
Newer Older
Phattaraphon Pewruang's avatar
Phattaraphon Pewruang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
var createBaseFor = require('./_createBaseFor');

/**
 * This function is like `baseFor` except that it iterates over properties
 * in the opposite order.
 *
 * @private
 * @param {Object} object The object to iterate over.
 * @param {Function} iteratee The function invoked per iteration.
 * @param {Function} keysFunc The function to get the keys of `object`.
 * @returns {Object} Returns `object`.
 */
var baseForRight = createBaseFor(true);

module.exports = baseForRight;