From a1582f7e172f793122a36c68e5bc4633c66695c7 Mon Sep 17 00:00:00 2001 From: Sergio Madera De Marco <37299705@terciariourquiza.edu.ar> Date: Tue, 28 Apr 2026 19:45:22 -0300 Subject: [PATCH] punto 6: array de frutas con for of --- ejercicios.js | 6 ++++++ 1 file changed, 6 insertions(+) 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