From 4ee8c6f38d939ce41c428738d48bb321c1ad1c77 Mon Sep 17 00:00:00 2001 From: Romeo Date: Tue, 12 May 2026 18:21:54 -0300 Subject: [PATCH] ej 6: array con frutas favoritas --- ejercicios.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ejercicios.js b/ejercicios.js index 557b23f..7feeee3 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -30,8 +30,13 @@ while (multiplos_tres + 3 < maximo){ // esta linea hace que NO se muestre un mul for (let m=0; m < maximo; m = m+3){ if (m > 0){ console.log(m); - } - + } +} + +//ejercicio 6 +let frutas = ["kiwi", "mango","banana"]; +for (let fruta of frutas){ + console.log(fruta) } // Resolver acá los ejercicios propuestos. \ No newline at end of file