{"ScriptPreparationCode":"var arr = [];\r\nfor (let j=0; j \u003C 1000000; j\u002B\u002B ) {\r\n arr.push(j);\r\n}","TestCases":[{"Name":"Reduce","Code":"const r = arr.reduce( (p,c) =\u003E p\u002Bc, 0);","IsDeferred":false},{"Name":"for..of","Code":"let r=0; for (v of arr) { r\u002B=v; }","IsDeferred":false},{"Name":"for","Code":"let r = 0; const l = arr.length; for (var i=0; i \u003C l; i\u002B\u002B ) { r \u002B= arr[i]; }","IsDeferred":false},{"Name":"foreach","Code":"let r = 0; arr.forEach( (v) =\u003E r \u002B= v );","IsDeferred":false},{"Name":"for..of with const","Code":"let r=0; for (const v of arr) { r\u002B=v; }","IsDeferred":false},{"Name":"for again","Code":"let r = 0, i=0; const l = arr.length; for (;i \u003C l;) { r \u002B= arr[i\u002B\u002B]; }","IsDeferred":false}]}