mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.16.5.
This commit is contained in:
4
forIn.js
4
forIn.js
@@ -1,4 +1,4 @@
|
||||
define(['./_baseFor', './_baseIteratee', './keysIn'], function(baseFor, baseIteratee, keysIn) {
|
||||
define(['./_baseFor', './_castFunction', './keysIn'], function(baseFor, castFunction, keysIn) {
|
||||
|
||||
/**
|
||||
* Iterates over own and inherited enumerable string keyed properties of an
|
||||
@@ -31,7 +31,7 @@ define(['./_baseFor', './_baseIteratee', './keysIn'], function(baseFor, baseIter
|
||||
function forIn(object, iteratee) {
|
||||
return object == null
|
||||
? object
|
||||
: baseFor(object, baseIteratee(iteratee, 3), keysIn);
|
||||
: baseFor(object, castFunction(iteratee), keysIn);
|
||||
}
|
||||
|
||||
return forIn;
|
||||
|
||||
Reference in New Issue
Block a user