function delRow() {
    var table = document.getElementById('table');
    if (table.childElementCount > 1) {
        table.removeChild(table.lastElementChild);
    }
}
/**
 * Delete last row from table which have id #table. Minimal number of rows in table are 1.
 */
Delete last row from table which have id #table. Minimal number of rows in table are 1.
Delete last row from table which have id #table . Minimal number of rows in table are 1 .
function delRow() {
    var table = document.getElementById('table');
    if (table.childElementCount > 1) {
        table.removeChild(table.lastElementChild);
    }
}
function delRow ( ) { var table = document . getElementById ( 'table' ) ; if ( table . childElementCount > 1 ) { table . removeChild ( table . lastElementChild ) ; } }
Delete last row from table which have id #table.
Delete last row from table which have id #table .