The HTMLSelectElement.add() method adds an element to the collection of option elements for this select element.
HTMLSelectElement.add()
option
select
MDN Reference