insertRow

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

The insertRow() method of the HTMLTableElement interface inserts a new row () in a given

MDN Reference

, and returns a reference to the new row.