Array Flattening in JavaScript
If you’ve been writing JavaScript for a while, you’ve probably worked with arrays that looked simple at first… but became awkward the moment you tried to actually use them.
Take this example:
const ar
dnano.hashnode.dev5 min read