{"ScriptPreparationCode":null,"TestCases":[{"Name":"generator","Code":"function* range(a, b) {\r\n do {\r\n yield a;\r\n } while ((a \u002B= 1) \u003C b);\r\n}\r\n\r\nlet total = 0;\r\nfor (let ii of range(0,100000)) {\r\n total \u002B= ii;\r\n}","IsDeferred":false},{"Name":"array","Code":"function range(a, b) {\r\n let arr = [];\r\n for (i = a; i \u003C b; 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(0, 100000)) {\r\n total \u002B= ii;\r\n}","IsDeferred":false},{"Name":"for","Code":"function range(a, b) {\r\n let arr = [];\r\n\r\n return arr;\r\n}\r\n\r\nlet total = 0;\r\nfor (i = 0; i \u003C 100000; i\u002B\u002B) {\r\n total \u002B= i;\r\n}","IsDeferred":false}]}