DEV Community

Discussion on: Recursion JS

Collapse
rusty_xx profile image
Grey_W I N D Author

Actually I was looking for an alternative of Array.flat () method.
Then I came across the this recursive solution
developer.mozilla.org/en-US/docs/W...