From 080f11f2adf6a0ddadb9b9c199fb3486400d99af Mon Sep 17 00:00:00 2001 From: Rezvan Mahdavi Hezaveh Date: Thu, 11 Jan 2024 00:23:14 +0000 Subject: [PATCH] The difference between two sets is `[1]`. --- .../Set/prototype/difference/subclass-receiver-methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/Set/prototype/difference/subclass-receiver-methods.js b/test/built-ins/Set/prototype/difference/subclass-receiver-methods.js index 287f7dd7836..03e36a1bd02 100644 --- a/test/built-ins/Set/prototype/difference/subclass-receiver-methods.js +++ b/test/built-ins/Set/prototype/difference/subclass-receiver-methods.js @@ -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);