{"ScriptPreparationCode":"window.array = [];\r\nfor(let i = 0; i \u003C 1000000; i\u002B\u002B) {\r\n window.array.push(i);\r\n}","TestCases":[{"Name":"loop","Code":"let sum = 0;\r\nfor(let i = 0; i \u003C array.length; i\u002B\u002B) {\r\n sum \u002B= window.array[i];\r\n}","IsDeferred":false},{"Name":"reduce","Code":"window.array.reduce((acc, val) =\u003E acc \u002B val );","IsDeferred":false}]}