You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 withSet
andMap
as well as cover theNaN
match case.Thoughts?
The text was updated successfully, but these errors were encountered: