Skip to content

Instantly share code, notes, and snippets.

@moimikey moimikey/deepFlat.js
Created Mar 31, 2019

Embed
What would you like to do?
deep flatten array in javascript
export const deepFlat = (arr) => arr.flat(Infinity)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.