diff --git a/ejercicios.js b/ejercicios.js index 179f1b4..568c239 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -36,4 +36,10 @@ for (let i = 1; i < maximo2; i++) { if (i % 3 === 0) { console.log(i); } +} +// Punto 6 +const frutas = ["manzana", "banana", "pera"]; + +for (let fruta of frutas) { + console.log(fruta); } \ No newline at end of file