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

This commit is contained in:
2026-05-17 18:21:48 +03:00
parent 59ff9624d1
commit c00430cd72
15 changed files with 29 additions and 0 deletions
@@ -0,0 +1,9 @@
let myWork = [];
for (let i = 1; i <= 10; i++) {
let status = i % 2 === 0 ? true : false;
let lesson = { name: 'Lesson ' + i, status: status};
myWork.push(lesson);
}
console.log(myWork);