{"ScriptPreparationCode":"var arr = [];\r\nfor(var i=0; i \u003C 10000; i\u002B\u002B) {\r\n arr.push(Math.floor(Math.random() * Math.floor(10000)));\r\n}","TestCases":[{"Name":"for of","Code":"var sum = 0;\r\nfor (var e of arr) {\r\n sum \u002B= e;\r\n}","IsDeferred":false},{"Name":"forEach","Code":"var sum = 0;\r\narr.forEach(e =\u003E {sum \u002B= e;})","IsDeferred":false},{"Name":"reduce","Code":"var sum = arr.reduce((acm, current) =\u003E acm \u002B current);","IsDeferred":false},{"Name":"for i","Code":"var sum = 0;\r\nfor (var i = 0; i \u003C arr.length; i\u002B\u002B) {\r\n sum \u002B= arr[i];\r\n}","IsDeferred":false}]}