I know it might be a stupid question, but I didn't find any solution for it.
For example, if I have the arr1 = [[1,2,3], [1,2,2], [4,3]]
and I want to remove the subarray [1,2,2]
. Is it possible in Javascript?
The result should be: [[1,2,3],[4,3]]
. Also, if I try to remove [0,1,2]
, nothing happens because the arr1 does not have the subarray [0,1,2]