{"ScriptPreparationCode":"var arr = Array(1000).fill().map(el =\u003E Array(10).fill(1));\r\n","TestCases":[{"Name":"flatMap Concat","Code":"const flatMap = (array) =\u003E {\r\n\treturn [].concat(...array)\r\n}\r\n\r\nflatMap(arr);","IsDeferred":false},{"Name":"flatMap reduce","Code":"const flatMap = (array) =\u003E {\r\n\treturn array.reduce((acc, val) =\u003E acc.concat(val));\r\n}\r\nflatMap(arr);\r\n","IsDeferred":false},{"Name":"flatMap native","Code":"const flatMap = (array) =\u003E {\r\n\treturn array.flatMap(i =\u003E i);\r\n}\r\nflatMap(arr);","IsDeferred":false}]}