{"ScriptPreparationCode":null,"TestCases":[{"Name":"new set","Code":"const create = () =\u003E {\r\n\tconst set = new Set()\r\n for (let i = 0; i \u003C 1000; \u002B\u002Bi)\r\n \tset.add(i)\r\n \treturn set\r\n}\r\n\r\nfor (let i = 0; i \u003C 100; \u002B\u002Bi) {\r\n\tconst result = create()\r\n}","IsDeferred":false},{"Name":"reuse set","Code":"const set = new Set()\r\nconst create = () =\u003E {\r\n \tset.clear()\r\n for (let i = 0; i \u003C 1000; \u002B\u002Bi)\r\n \tset.add(i)\r\n \treturn [...set]\r\n}\r\n\r\nfor (let i = 0; i \u003C 100; \u002B\u002Bi) {\r\n\tconst result = create()\r\n}","IsDeferred":false}]}