The DataTransferItemList.remove() method removes the DataTransferItem at the specified index from the list.
DataTransferItemList.remove()
MDN Reference