{"ScriptPreparationCode":null,"TestCases":[{"Name":"generator","Code":"function* range(n) {\r\n var i;\r\n for (i = 0; i \u003C n; i\u002B\u002B) {\r\n yield n;\r\n }\r\n}\r\n\r\nlet total = 0;\r\nfor (let ii of range(100000)) {\r\n total \u002B= ii;\r\n}","IsDeferred":false},{"Name":"array","Code":"function range(n) {\r\n let arr = [];\r\n for (i = 0; i \u003C n; i\u002B\u002B) {\r\n arr.push(i);\r\n }\r\n return arr;\r\n}\r\n\r\nlet total = 0;\r\nfor (let ii of range(100000)) {\r\n total \u002B= ii;\r\n}","IsDeferred":false}]}