{"ScriptPreparationCode":"var array = [...new Array(100000).keys()];\r\nvar accumulator = 0;","TestCases":[{"Name":"for","Code":"for (var i = 0; i \u003C array.length; i\u002B\u002B) {\r\n accumulator \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"foreach","Code":"array.forEach(function(i) {\r\n accumulator \u002B= array[i];\r\n});","IsDeferred":false},{"Name":"for..of","Code":"for (const i of array) {\r\n accumulator \u002B= i;\r\n}","IsDeferred":false},{"Name":"reduce","Code":"array.reduce(function(acc,i) {\r\n return acc \u002B= array[i];\r\n}, 0);","IsDeferred":false},{"Name":"map","Code":"array.map(function(i) {\r\n accumulator \u002B= array[i];\r\n});","IsDeferred":false}]}