{"ScriptPreparationCode":"var n = 1000;\r\nvar keys = [...Array(n)].map((_) =\u003E Math.floor(Math.random() * n));","TestCases":[{"Name":"add","Code":"const keySetA = new Set();\r\nfor (const k of keys) {\r\n keySetA.add(k);\r\n}","IsDeferred":false},{"Name":"from array","Code":"const acc = [];\r\nfor (const k of keys) {\r\n acc.push(k);\r\n}\r\nconst keySetB = new Set(acc);","IsDeferred":false}]}