{"ScriptPreparationCode":"var arr = [];\r\nfor(let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n arr.push(Math.random());\r\n}\r\nvar arrLength = arr.length;\r\nvar sum = 0;","TestCases":[{"Name":"Iterator for loop","Code":"for(const num of arr) {\r\n sum \u002B= num;\r\n}","IsDeferred":false},{"Name":"Index for loop","Code":"for(let i = 0; i \u003C arrLength; i\u002B\u002B) {\r\n sum \u002B= arr[i];\r\n}","IsDeferred":false}]}