{"ScriptPreparationCode":"var arr = Array(10_000).fill([1,2])","TestCases":[{"Name":"reduce with new array","Code":"arr.reduce((acc, x) =\u003E [...acc, ...x], []);","IsDeferred":false},{"Name":"reduce with push","Code":"arr.reduce((acc, x) =\u003E {\r\n acc.push(...x)\r\n\treturn arr;\r\n}, []);","IsDeferred":false},{"Name":"flatMap","Code":"arr.flatMap(x =\u003E x);","IsDeferred":false}]}