javascript splice multidimensional array code example Example: js splice 2d array arr.splice((i,j), 1);