mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Move internal modules to “internal” folder.
This commit is contained in:
14
.internal/baseEach.js
Normal file
14
.internal/baseEach.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import baseForOwn from './.internal/baseForOwn.js';
|
||||
import createBaseEach from './.internal/createBaseEach.js';
|
||||
|
||||
/**
|
||||
* The base implementation of `forEach`.
|
||||
*
|
||||
* @private
|
||||
* @param {Array|Object} collection The collection to iterate over.
|
||||
* @param {Function} iteratee The function invoked per iteration.
|
||||
* @returns {Array|Object} Returns `collection`.
|
||||
*/
|
||||
const baseEach = createBaseEach(baseForOwn);
|
||||
|
||||
export default baseEach;
|
||||
Reference in New Issue
Block a user