{"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":"foreach with index","Code":"var sum = 0;\r\narr.forEach((e, index) =\u003E {sum \u002B= e;})","IsDeferred":false},{"Name":"foreach without index","Code":"var sum = 0;\r\narr.forEach(e =\u003E {sum \u002B= e;})","IsDeferred":false}]}