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