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