{"ScriptPreparationCode":"var a = new Array(1e6);\r\nfor (var i = 0; i \u003C 1e6; i\u002B\u002B) {\r\n a[i] = Math.random();\r\n}","TestCases":[{"Name":"Map","Code":"var b = a.map(n =\u003E n * 2);","IsDeferred":false},{"Name":"For Loop","Code":"var b = [];\r\nfor (var i = 0; i \u003C a.length; i\u002B\u002B) {\r\n b[i] = a[i] * 2;\r\n}","IsDeferred":false}]}