code: function removeMultipleColsByCells($cells) {
    const numberOfCells = $cells.length;
    for (let i = 0; i < numberOfCells; i += 1) {
      const $cellToDelete = $cells.eq(i);
      if ($cellToDelete.length > 0) {
        removeColByCell($cells.eq(i));
      }
    }
  }
docs: Remove columns by given cells
  @param {jQuery} $cells - jQuery table cells