mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Bump to v4.4.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import baseCastFunction from './_baseCastFunction';
|
||||
import baseForOwn from './_baseForOwn';
|
||||
import toFunction from './_toFunction';
|
||||
|
||||
/**
|
||||
* Iterates over own enumerable properties of an object invoking `iteratee`
|
||||
@@ -28,7 +28,7 @@ import toFunction from './_toFunction';
|
||||
* // => logs 'a' then 'b' (iteration order is not guaranteed)
|
||||
*/
|
||||
function forOwn(object, iteratee) {
|
||||
return object && baseForOwn(object, toFunction(iteratee));
|
||||
return object && baseForOwn(object, baseCastFunction(iteratee));
|
||||
}
|
||||
|
||||
export default forOwn;
|
||||
|
||||
Reference in New Issue
Block a user