{"ScriptPreparationCode":null,"TestCases":[{"Name":"filter","Code":"const x = new Set([1,2,6,7]);\r\nconst y = [1,2,3,4,5,6,7,8];\r\nconst z = new Set(y.filter((elt) =\u003E x.has(elt)));","IsDeferred":false},{"Name":"for loop","Code":"const x = new Set([1,2,6,7]);\r\nconst y = [1,2,3,4,5,6,7,8];\r\nconst z = new Set();\r\nfor (const elt of y) {\r\n if (x.has(elt)) {\r\n z.add(elt)\r\n }\r\n}","IsDeferred":false}]}