create a table row with values in javascript code example
Example: creating a table in js
let table = document.createElement("table");
for (let i = 0; i < 10; i++) {
let tr = document.createElement('tr');
let td = document.createElement('td');
tr.appendChild(td);
table.appendChild(tr);
}
target.appendChild(table);