From 1358fb523b39d4eb576dda1a42a1aa482d83bcbf Mon Sep 17 00:00:00 2001 From: Facundo Saucedo <43495919@terciariourquiza.edu.ar> Date: Tue, 28 Apr 2026 15:52:43 -0300 Subject: [PATCH] feat: add presentarse function --- ejercicios.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ejercicios.js b/ejercicios.js index e8212e8..c2a121f 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -47,4 +47,9 @@ const fruits = ["Manzana", "Banana", "Pera"] for (const fruit of fruits) { console.log(fruit); -} \ No newline at end of file +} + +// Sexto ejercicio: + +const presentation = (a, b) => `Hola, mi nombre es ${a} y tengo ${b} aƱos.`; +console.log(presentation(name, age)); \ No newline at end of file