mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Bump to v3.7.0.
This commit is contained in:
@@ -9,7 +9,7 @@ import bindCallback from './bindCallback';
|
||||
*/
|
||||
function createForOwn(objectFunc) {
|
||||
return function(object, iteratee, thisArg) {
|
||||
if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
|
||||
if (typeof iteratee != 'function' || thisArg !== undefined) {
|
||||
iteratee = bindCallback(iteratee, thisArg, 3);
|
||||
}
|
||||
return objectFunc(object, iteratee);
|
||||
|
||||
Reference in New Issue
Block a user