{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.from","Code":"var fooSet = new Set();\r\nfor(var i=0;i\u003C100;i\u002B\u002B) {\r\n fooSet.add(i);\r\n}\r\nvar other = Array.from(fooSet, i =\u003E i * i);","IsDeferred":false},{"Name":"Spread","Code":"var fooSet = new Set();\r\nfor(var i=0;i\u003C100;i\u002B\u002B) {\r\n fooSet.add(i);\r\n}\r\nvar other = [...fooSet].map(i =\u003E i * i);","IsDeferred":false},{"Name":"Array.from with map","Code":"var fooSet = new Set();\r\nfor(var i=0;i\u003C100;i\u002B\u002B) {\r\n fooSet.add(i);\r\n}\r\nvar other = Array.from(fooSet).map(i =\u003E i * i);","IsDeferred":false}]}