Avoid set optimization if iteratee is provided to baseUniq.

This commit is contained in:
John-David Dalton
2015-11-24 00:21:58 -08:00
parent ce6c0f3082
commit a6bc1fa316

View File

@@ -3423,7 +3423,7 @@
includes = arrayIncludesWith;
}
else if (length >= LARGE_ARRAY_SIZE) {
var set = createSet(array);
var set = iteratee ? null : createSet(array);
if (set) {
return setToArray(set);
}