diff --git a/ejercicios.js b/ejercicios.js index 63984f4..c32a8ab 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -32,4 +32,9 @@ maximo = 45 for (let numero = 3; numero < maximo; numero = numero + 3) { console.log(numero); +} + +const frutas = ["sandia", "kiwi", "manzana"]; +for(const fruta of frutas) { + console.log(fruta) } \ No newline at end of file