mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Bump to v3.0.0.
This commit is contained in:
17
internal/baseForIn.js
Normal file
17
internal/baseForIn.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import baseFor from './baseFor';
|
||||
import keysIn from '../object/keysIn';
|
||||
|
||||
/**
|
||||
* The base implementation of `_.forIn` without support for callback
|
||||
* shorthands and `this` binding.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} object The object to iterate over.
|
||||
* @param {Function} iteratee The function invoked per iteration.
|
||||
* @returns {Object} Returns `object`.
|
||||
*/
|
||||
function baseForIn(object, iteratee) {
|
||||
return baseFor(object, iteratee, keysIn);
|
||||
}
|
||||
|
||||
export default baseForIn;
|
||||
Reference in New Issue
Block a user