You can use `goog.array.remove` here.