time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

_baseForOwnRight.js (486B)


      1 var baseForRight = require('./_baseForRight'),
      2     keys = require('./keys');
      3 
      4 /**
      5  * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
      6  *
      7  * @private
      8  * @param {Object} object The object to iterate over.
      9  * @param {Function} iteratee The function invoked per iteration.
     10  * @returns {Object} Returns `object`.
     11  */
     12 function baseForOwnRight(object, iteratee) {
     13   return object && baseForRight(object, iteratee, keys);
     14 }
     15 
     16 module.exports = baseForOwnRight;