feat: add function for presentation

This commit is contained in:
2026-05-20 17:31:59 -03:00
parent 03a14f21b2
commit 5a97198912

View File

@@ -48,3 +48,11 @@ for (const fruta of frutas){
console.log(fruta);
}
// Sexto ejercicio
function presentation(name,age){
const p = `Hola mi nombre es ${name} y mi edad es ${age}`;
return p
}
console.log(presentation(name,age));