{"ScriptPreparationCode":"var array = new Array(100).fill(1);","TestCases":[{"Name":"for","Code":"let sum = 0;\r\nfor (let i = 0; i \u003C array.length; i\u002B\u002B) {\r\n sum \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"foreach","Code":"let sum = 0;\r\narray.forEach(value =\u003E {\r\n sum \u002B= value;\r\n});","IsDeferred":false},{"Name":"for in","Code":"let sum = 0;\r\nfor (let i in array) {\r\n sum \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"for..of","Code":"let sum = 0;\r\nfor (let value of array) {\r\n sum \u002B= value;\r\n}","IsDeferred":false},{"Name":"cached for","Code":"let sum = 0, len = array.length;\r\nfor (let i = 0; i \u003C len; i\u002B\u002B) {\r\n sum \u002B= array[i];\r\n}","IsDeferred":false}]}