diff --git a/ejercicios.js b/ejercicios.js index 763a4a7..352eaf3 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -25,4 +25,9 @@ while (i < maximo) { let maximo = 15 for (let i=3; i < maximo;i = i+3){ console.log(i); +} + +let frutas = ["Manzana", "Banana", "Frutilla"]; +for (let fruta of frutas) { + console.log(fruta); } \ No newline at end of file