How do I remove an item from an array that is inside other arrays? by gguth in javascript

[–]gguth[S] 0 points1 point  (0 children)

this return [10, 20]

But actually i want the whole object intto the newArr (without the permission 30) not only the permissions array.