{"ScriptPreparationCode":"var fooSet = new Set();\r\nfor(var i=0;i\u003C10000;i\u002B\u002B) {\r\n fooSet.add(i);\r\n}","TestCases":[{"Name":"Array.from","Code":"var other = Array.from(fooSet);","IsDeferred":false},{"Name":"Spread","Code":"var other = [...fooSet];","IsDeferred":false},{"Name":"setArray","Code":" let index = -1\r\n const result = new Array(fooSet.size)\r\n\r\n fooSet.forEach((value) =\u003E {\r\n result[\u002B\u002Bindex] = value\r\n })","IsDeferred":false}]}