time-to-botec

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

_baseEach.js (455B)


      1 var baseForOwn = require('./_baseForOwn'),
      2     createBaseEach = require('./_createBaseEach');
      3 
      4 /**
      5  * The base implementation of `_.forEach` without support for iteratee shorthands.
      6  *
      7  * @private
      8  * @param {Array|Object} collection The collection to iterate over.
      9  * @param {Function} iteratee The function invoked per iteration.
     10  * @returns {Array|Object} Returns `collection`.
     11  */
     12 var baseEach = createBaseEach(baseForOwn);
     13 
     14 module.exports = baseEach;