{"ScriptPreparationCode":"var array = new Array(1000);\r\nfor (var i = 0; i \u003C array.length; i\u002B\u002B) {\r\n array[i] = i;\r\n}\r\n","TestCases":[{"Name":"for","Code":"let sum = 0;\r\nfor (var i = 0; i \u003C array.length; i\u002B\u002B) {\r\n sum \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"for each","Code":"let sum = 0;\r\nfor (var item in array) {\r\n sum \u002B= item;\r\n}","IsDeferred":false},{"Name":"forEach","Code":"let sum = 0;\r\narray.forEach(function(item, index) {\r\n sum \u002B= item;\r\n});","IsDeferred":false}]}