From dc1e232e6b6ae72c057e8a14897c494205602af5 Mon Sep 17 00:00:00 2001 From: Lucio Gaibazzi Date: Mon, 4 May 2026 17:41:07 -0300 Subject: [PATCH] Realizo el ejercicio 7 de la clase 6 --- ejercicios.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ejercicios.js b/ejercicios.js index e48476b..72e9617 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -31,4 +31,12 @@ for (let i = 3; i < maximo; i = (i+3)) { const frutas = ["banana", "durazno", "manzana"]; 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("Lucho", 21)); \ No newline at end of file