deleteCaption

The HTMLTableElement.deleteCaption() method removes the element from a given

. If there is no
element associated with the table, this method does nothing.

MDN Reference