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
Using sameValueZero comparison would fix this, but maybe change the current behaviour too much ?
With deep comparison, we would need to make sure the same key/value pair can't be used multiple times.
The text was updated successfully, but these errors were encountered:
The issue actually appears to be because the value from mapA always find a match in mapB (the first value). I have a setup that uses a local cache to avoid matching previously-matched values, should have a change up shortly.
The first value in
mapB
in the example above is used twice, since the keys are equal.Example here : https://runkit.com/g-traub/map-keys-comparison
Using sameValueZero comparison would fix this, but maybe change the current behaviour too much ?
With deep comparison, we would need to make sure the same key/value pair can't be used multiple times.
The text was updated successfully, but these errors were encountered: