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