for example this is my array of arrays:
const arr = [[1, 2, 3, 4], [6, 6, 7, 8, 9], [10, 11, 12, 13, 14]];
How can I remove the first index, so I get the array of arrays, but excluding the first index?
So filteredArr = [[6, 6, 7, 8, 9], [10, 11, 12, 13, 14]];
would be final output.
Thanks.
NOTE: I don't want to mutate array.