The HTMLSelectElement.remove() method removes the element at the specified index from the options collection for this select element.
HTMLSelectElement.remove()
MDN Reference