{"ScriptPreparationCode":"var n = 1000","TestCases":[{"Name":"reduce","Code":"[...Array(n).keys()].reduce((acc, cur) =\u003E [...acc, \u002B\u002Bcur, cur\u002B\u002B], [])","IsDeferred":false},{"Name":"while","Code":"let res = [], i=0;\r\nwhile(n\u003Ei\u002B\u002B) res.push(i, i);","IsDeferred":false},{"Name":"foreach","Code":"let res = [];\r\nArray(n).fill(0).forEach((_,i) =\u003E res.push(i\u002B1, i\u002B1))","IsDeferred":false}]}