{"ScriptPreparationCode":"var n = Array.from(Array(1000).keys())","TestCases":[{"Name":"flatMap","Code":"n.flatMap((x,i) =\u003E [\u002B\u002Bi,i\u002B\u002B])","IsDeferred":false},{"Name":"reduce","Code":"n.reduce((acc, cur) =\u003E [...acc, \u002B\u002Bcur, cur\u002B\u002B], [])","IsDeferred":false},{"Name":"while","Code":"let res = [], i=0;\r\nwhile(n.length\u003Ei\u002B\u002B) res.push(i, i);","IsDeferred":false},{"Name":"foreach","Code":"let res = [];\r\nn.forEach((_,i) =\u003E res.push(i\u002B1, i\u002B1))","IsDeferred":false},{"Name":"for","Code":"let res = [];\r\nfor (let i = 0; i \u003C n.length; i\u002B\u002B) {\r\n res.push(i\u002B1, i\u002B1)\r\n}","IsDeferred":false},{"Name":"for of","Code":"let res = [];\r\nfor (const i of n) {\r\n res.push(i\u002B1, i\u002B1)\r\n}","IsDeferred":false}]}