{"ScriptPreparationCode":"flattenArray = arr =\u003E {\r\n\treturn arr.reduce( (result, el) =\u003E {\r\n\t\treturn result.concat(\r\n\t\t\tArray.isArray(el) ? flattenArray(el) : el\r\n\t\t)\r\n\t}, []);\r\n}\r\n","TestCases":[{"Name":"lodash","Code":"_.flattenDeep([1, [2, [3, [4]], 5]]);","IsDeferred":false},{"Name":"mine","Code":"flattenArray([1, [2, [3, [4]], 5]]);","IsDeferred":false}]}