From 422c89bc164c4ee51431843f6ba4e4c484cc0ba2 Mon Sep 17 00:00:00 2001 From: maximo hidalgo <47135001@gmail.com> Date: Mon, 4 May 2026 18:38:41 -0300 Subject: [PATCH] agrega funcion presentarse --- ejercicios.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ejercicios.js b/ejercicios.js index c5711e6..f501a64 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -31,4 +31,8 @@ console.log("Finalizacion de for") const frutas = ["banana", "mango", "uva"]; for (const fruta of frutas) { console.log(fruta); -} \ No newline at end of file +} +function presentarse(nombre, edad) { + return `Me llamo ${nombre} y tengo tengo ${edad} aƱos.` +} +console.log(presentarse("maximo", 19)) \ No newline at end of file