The HTMLTableElement.deleteCaption() method removes the caption element from a given table.
HTMLTableElement.deleteCaption()
MDN Reference