Strict equal nit in _.uniq.

This commit is contained in:
John-David Dalton
2015-07-10 08:36:07 -07:00
parent 4bae0c0139
commit 64b9402e12

View File

@@ -5302,7 +5302,7 @@
if (!length) {
return [];
}
return (isSorted && typeof isSorted == 'boolean' && getIndexOf() == baseIndexOf)
return (isSorted && typeof isSorted == 'boolean' && getIndexOf() === baseIndexOf)
? sortedUniq(array)
: baseUniq(array);
}