pico-engine
pico-engine copied to clipboard
The set intersection operator is not working properly
Intersection operation appears to be directional when dealing with unbalanced arrays. e.g.
A = ["tag1","tag2","tag3","tag4","tag5"]
B = ["tag3", "tag5"]
A.intersection(B) // ["tag3", "tag5]
B.intersection(A) // []
as reported by Josh Goodman