style, clarity

This commit is contained in:
Brad Dunbar
2011-10-28 17:02:20 -04:00
parent b5a058ba39
commit 81bad47bc0

View File

@@ -206,7 +206,7 @@
if (obj == null) return found;
if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1;
found = any(obj, function(value) {
if (value === target) return true;
return value === target;
});
return found;
};