The HTMLTableElement.deleteTFoot() method removes the tfoot element from a given table.
HTMLTableElement.deleteTFoot()
MDN Reference