mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Bump to v4.16.5.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var baseForOwn = require('./_baseForOwn'),
|
||||
baseIteratee = require('./_baseIteratee');
|
||||
castFunction = require('./_castFunction');
|
||||
|
||||
/**
|
||||
* Iterates over own enumerable string keyed properties of an object and
|
||||
@@ -30,7 +30,7 @@ var baseForOwn = require('./_baseForOwn'),
|
||||
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
||||
*/
|
||||
function forOwn(object, iteratee) {
|
||||
return object && baseForOwn(object, baseIteratee(iteratee, 3));
|
||||
return object && baseForOwn(object, castFunction(iteratee));
|
||||
}
|
||||
|
||||
module.exports = forOwn;
|
||||
|
||||
Reference in New Issue
Block a user