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