Open stephanos opened 9 years ago
s0 = mori.set(["cat", "dog", "mouse"]) s1 = mori.set(["dog", "cat", "bird"]) console.log(mori.difference(s0, s1))
prints
#{"mouse"}
but it should print
#{"mouse" "bird"}
(mori version 0.3.2 on Node v0.12.2)
Only just now saw https://github.com/swannodette/mori/issues/147 - so maybe the docs are wrong, not the code.
Can confirm, difference is working correctly in this case.
prints
but it should print
(mori version 0.3.2 on Node v0.12.2)