Signed-off-by: Alice <Svfoxel@yandex.ru>

version 2
This commit is contained in:
2026-05-17 18:21:48 +03:00
parent 59ff9624d1
commit b1c7c526c8
15 changed files with 29 additions and 0 deletions
@@ -0,0 +1,15 @@
let strings = 20;
let columns = 10;
let myTable = [];
let counter = 0;
for (let y = 0; y < columns; y++){
let tempTable = [];
for(let x = 0; x < strings; x++){
counter++;
tempTable.push(counter);
}
myTable.push(tempTable);
}
console.table(myTable);