mirror of https://github.com/tc39/test262.git
The difference between two sets is `[1]`.
This commit is contained in:
parent
c8cd136888
commit
080f11f2ad
|
@ -30,7 +30,7 @@ class MySet extends Set {
|
|||
|
||||
const s1 = new MySet([1, 2]);
|
||||
const s2 = new Set([2, 3]);
|
||||
const expected = [2];
|
||||
const expected = [1];
|
||||
const combined = s1.difference(s2);
|
||||
|
||||
assert.compareArray([...combined], expected);
|
||||
|
|
Loading…
Reference in New Issue