deleteTFoot

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

MDN Reference