{"ScriptPreparationCode":"var arr = [[\u0027a\u0027, \u0027b\u0027, \u0027d\u0027]];\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 lodash","Code":"_.flatMap(arr);","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}]}