Open
Description
Currently for comparisons in methods like difference
, includes
, indexOf
, intersection
, lastIndexOf
,uniq
, union
a strict equality, ===
is used.
If this was tweaked a bit to SameValueZero, ===
+ NaN
matches, then it would allow for optimizations with Set
and Map
as well as cover the NaN
match case.
Thoughts?