PIbd-22_Kaznacheeva.E.K_Int.../lab2/node_modules/lodash/_baseEach.js

15 lines
455 B
JavaScript
Raw Normal View History

2023-11-24 14:53:57 +04:00
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;