From 68bb57875ee7096f5d77356d346ac15acbcce012 Mon Sep 17 00:00:00 2001 From: Alice Date: Sun, 22 Mar 2026 12:08:24 +0300 Subject: [PATCH] 5,6.js version 1 --- 5/5,6.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 5/5,6.js diff --git a/5/5,6.js b/5/5,6.js new file mode 100644 index 0000000..1090459 --- /dev/null +++ b/5/5,6.js @@ -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); +} \ No newline at end of file