insertRow

open external fun insertRow(index: Int = definedExternally): HTMLTableRowElement(source)

The insertRow() method of the HTMLTableElement interface creates a element, inserts it at the specified position in the rows collection, and returns it. If the rows collection is empty and the table also has no elements, a element is first created and inserted.

MDN Reference