The HTMLTableElement.deleteRow() method removes a specific row (tr) from a given table.
HTMLTableElement.deleteRow()
MDN Reference