{"ScriptPreparationCode":"function* rangeGenerator(end, start = 0) {\r\n yield start\r\n if (start === end) return\r\n yield* rangeGenerator(end, start \u002B 1)\r\n}\r\n","TestCases":[{"Name":"Generator","Code":"const result = Array.from(rangeGenerator(20))","IsDeferred":false},{"Name":"For loop","Code":"const result = []\r\nfor (let i = 0; i \u003C 21; \u002B\u002Bi) {\r\n result.push(i)\r\n}","IsDeferred":false},{"Name":"UIntArray","Code":"Array.from(new Uint8Array(21).map((_, i) =\u003E i))","IsDeferred":false}]}