We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Hola @Satorugraph!
Agrego los 2 últimos ejercicios que no aparecen contemplado en las soluciones.
Esta es la parte de 04 Listas
Crea una función que reciba dos listas de números del mismo tamaño y devuelva una nueva lista con la suma de los elementos uno a uno.
` function sumDeList(a, b) { let suma = a.concat(b);
console.log(suma); console.log(suma.length); console.log(typeof suma); }
let a = [25, 20, 36, 45]; let b = [48, 54, 69, 20]; sumDeList(a, b); `
Crea una función que reciba una lista de números y devuelva una nueva lista con el cuadrado de cada número.
` function numAlCuadrado(lista) { let cuadrados = lista.map(numero => numero ** 2); console.log(cuadrados); }
let miLista = [2, 4, 6, 8]; numAlCuadrado(miLista);
`
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: