I have a nested array of objects. Something like:
[
{
item: 'x',
data: [
item: 'y',
data: [
item: 'z',
data: [...]
]
],
...
}
]
I know the item I want to remove is located at position [1, 3, 1, 4]. Is there a faster way to remove that item in the array?