Function, which will Flatten the Array.
const a = [1,[2,[3,[4,[5]]]]]flattenDeep(a) // => [1,2,3,4,5]
The Array
Generated using TypeDoc
Function, which will Flatten the Array.
Example: