mirror of
https://github.com/thangisme/notes.git
synced 2024-11-09 07:47:30 -05:00
15 lines
455 B
JavaScript
15 lines
455 B
JavaScript
var baseForOwn = require('./_baseForOwn'),
|
|
createBaseEach = require('./_createBaseEach');
|
|
|
|
/**
|
|
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
|
*
|
|
* @private
|
|
* @param {Array|Object} collection The collection to iterate over.
|
|
* @param {Function} iteratee The function invoked per iteration.
|
|
* @returns {Array|Object} Returns `collection`.
|
|
*/
|
|
var baseEach = createBaseEach(baseForOwn);
|
|
|
|
module.exports = baseEach;
|