mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Fixes #345.
This commit is contained in:
@@ -205,8 +205,8 @@
|
||||
var found = false;
|
||||
if (obj == null) return found;
|
||||
if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1;
|
||||
any(obj, function(value) {
|
||||
if (found = value === target) return true;
|
||||
found = any(obj, function(value) {
|
||||
if (value === target) return true;
|
||||
});
|
||||
return found;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user