5,6.js version 1

This commit is contained in:
2026-03-22 12:08:24 +03:00
parent 21dd10b112
commit 68bb57875e
+9
View File
@@ -0,0 +1,9 @@
const myArray = [];
for (let x = 0; x < 10; x++) {
myArray.push(x + 1);
}
console.log(myArray);
for (let val of myArray) {
console.log(val);
}