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