{"ScriptPreparationCode":"var arr = Array(2000).fill(1).map(() =\u003E ({ items: Array(10).fill(1) }))","TestCases":[{"Name":"flatMap","Code":"arr.flatMap(x =\u003E x.items)","IsDeferred":false},{"Name":"reduce - concat","Code":"arr.reduce((acc, x) =\u003E acc.concat(x.items), [])","IsDeferred":false},{"Name":"reduce - spread","Code":"arr.reduce((acc, x) =\u003E ([...acc, ...x.items]), [])","IsDeferred":false},{"Name":"reduce - push","Code":"arr.reduce((acc, x) =\u003E {\r\n acc.push(...x.items);\r\n return acc;\r\n}, [])","IsDeferred":false}]}