Nested Arrays & Flattening
The Way I Finally Understood It
I still remember the first time I saw this:
const arr = [1, [2, [3, 4]]];
And honestly… my brain just froze for a second Like, why is there an array inside an array… i
akhtarraza.hashnode.dev4 min read