Se escribe array frutas
This commit is contained in:
@@ -35,6 +35,13 @@ for (let maximo2 = 0; maximo2 < maximo; maximo2 = maximo2 +3){
|
||||
console.log(maximo2);
|
||||
}
|
||||
|
||||
const frutas = ["mango", "frutilla", "platano"];
|
||||
for (const fruta of frutas) {
|
||||
console.log(fruta);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user