rama maximo-hidalgo a rama main #10

Open
hidalgo.maximo wants to merge 5 commits from hidalgo.maximo/clase-7-arrays-funciones-objetos:maximo-hidalgo into main
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 9c4883e7ce - Show all commits

View File

@@ -10,7 +10,8 @@ console.log("Archivo vinculado correctamente.");
const numeros = [1, 2, 3, 4, 5, 6, 7, 8];
// Resultado esperado: [4, 16, 36, 64]
const resultado = numeros.filter(n => n % 2 === 0).map(n => n * n);
console.log(resultado);
/*

View File

@@ -12,4 +12,5 @@
</body>
<script src="ejercicios.js"></script>
</html>