{"ScriptPreparationCode":"var arr = [];\r\nfor (var i = 0; i \u003C 12345; i\u002B\u002B) {\r\n arr[i] = i;\r\n}\r\n\r\nfunction someFn(i) {\r\n return (i * 3 * 8 / 1200 * 0.002 / 40 * 0.2);\r\n}\r\n\r\nvar sumForEach = 0,\r\n sumReduce = 0,\r\n sumMap = 0,\r\n sumFilter = 0,\r\n sumFor = 0;","TestCases":[{"Name":"reduce","Code":"sumReduce = arr.reduce((lastValue, item) =\u003E {\r\n return sumReduce \u002B= someFn(item);\r\n});","IsDeferred":false},{"Name":"for...of","Code":"for (const a of arr) {\r\n sumFor \u002B= a;\r\n}","IsDeferred":false}]}