From b4f99db31eabf802f77e7cb8788103fcc44b1066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Blas=20Alarc=C3=B3n?= <47840816@terciariourquiza.edu.ar> Date: Mon, 4 May 2026 18:39:39 -0300 Subject: [PATCH] Agregue la funcion presentarse --- ejercicios.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ejercicios.js b/ejercicios.js index 550d823..8c1cab1 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -35,4 +35,10 @@ for (let contador = 3; contador < maximo; contador += 3) { const frutas = ["manzana", "banana", "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 ${edad} aƱos.` +} + +console.log(presentarse("Blas", 18)); \ No newline at end of file