I have a 2D array:
var array = [[\"a\", \"b\", \"c\"],[\"a\", \"b\", \"c\"],[\"a\", \"b\", \"c\"]]
I want to delete an entire column of thi
This function doesn't use splice and it removes any column you want:
function removeEl(array, remIdx) { return array.map(function(arr) { return arr.filter(function(el,idx){return idx !== remIdx}); }); };
Hope this is what you are looking for