Flatten an array of arbitrarily nested arrays of integers into a flat array of integers.
import flatten from 'flattenArray'
const flatArray = flatten([[1,[8,[[3]]]],9,[14,[[[6]]]]])
console.log(flatArray) // [1, 8, 3, 9, 14, 6]
npm install
npm run dev
npm run test
npm run test:watch
npm run build