time-to-botec

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

_baseFor.js (593B)


      1 var createBaseFor = require('./_createBaseFor');
      2 
      3 /**
      4  * The base implementation of `baseForOwn` which iterates over `object`
      5  * properties returned by `keysFunc` and invokes `iteratee` for each property.
      6  * Iteratee functions may exit iteration early by explicitly returning `false`.
      7  *
      8  * @private
      9  * @param {Object} object The object to iterate over.
     10  * @param {Function} iteratee The function invoked per iteration.
     11  * @param {Function} keysFunc The function to get the keys of `object`.
     12  * @returns {Object} Returns `object`.
     13  */
     14 var baseFor = createBaseFor();
     15 
     16 module.exports = baseFor;