How to remove row in two dimensional array in JavaScript with row number. If I want to delete all elements in row number 4 then how can do it??
delete array[index]; array.length--;
In your case give index as 4 and execute the above statement and you need to manually reduce the length of array.