restructured

This commit is contained in:
Karan
2021-12-03 14:15:39 +05:30
committed by GitHub
parent 7c2fad33ef
commit 15335af7da
+2 -2
View File
@@ -24,8 +24,8 @@
} }
function build() { function build() {
myArray.forEach((item, index) => { myArray.forEach((item, index) => {
adder(item, index, 0) adder(item, index, 0);
}) });
} }
function adder(name, index, counter) { function adder(name, index, counter) {
const tr = document.createElement("tr"); const tr = document.createElement("tr");