feat: add presentarse function

This commit is contained in:
2026-04-28 15:52:43 -03:00
parent 825e175687
commit 1358fb523b

View File

@@ -47,4 +47,9 @@ const fruits = ["Manzana", "Banana", "Pera"]
for (const fruit of fruits) {
console.log(fruit);
}
}
// Sexto ejercicio:
const presentation = (a, b) => `Hola, mi nombre es ${a} y tengo ${b} años.`;
console.log(presentation(name, age));