mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Bump to v4.4.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var baseForOwnRight = require('./_baseForOwnRight'),
|
||||
toFunction = require('./_toFunction');
|
||||
var baseCastFunction = require('./_baseCastFunction'),
|
||||
baseForOwnRight = require('./_baseForOwnRight');
|
||||
|
||||
/**
|
||||
* This method is like `_.forOwn` except that it iterates over properties of
|
||||
@@ -26,7 +26,7 @@ var baseForOwnRight = require('./_baseForOwnRight'),
|
||||
* // => logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'
|
||||
*/
|
||||
function forOwnRight(object, iteratee) {
|
||||
return object && baseForOwnRight(object, toFunction(iteratee));
|
||||
return object && baseForOwnRight(object, baseCastFunction(iteratee));
|
||||
}
|
||||
|
||||
module.exports = forOwnRight;
|
||||
|
||||
Reference in New Issue
Block a user