Nested Arrays and Flattening Explained (Simple Way)
Arrays are easy… until they are not.
Sometimes instead of a normal array, you get something like this:
[1, 2, [3, 4], [5, [6, 7]]]
This is called a nested array.
What nested arrays are
A nested array
kumar-rishabh.hashnode.dev2 min read