cara menghapus indeks sub array null di javascript

var array = [ [ 1, , 2 ], [ 3, , 4 ], [ 5, , 6 ] ];

var filtered = array.filter(function (el) {
  return el != null;
});

console.log(filtered);
Successful Shrike