insertRow

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

The insertRow() method of the HTMLTableSectionElement interface inserts a new row () in the given table sectioning element (, , or ), then returns a reference to this new row.

MDN Reference