From d95a9b55253724dd6e03072e5478d89c67396447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leidyanne=20Gon=C3=A7alves?= Date: Tue, 1 Nov 2022 21:12:27 -0300 Subject: [PATCH] comitando greeting --- 01-greeting/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/01-greeting/index.js b/01-greeting/index.js index 8f551af..f367faf 100644 --- a/01-greeting/index.js +++ b/01-greeting/index.js @@ -1,4 +1,8 @@ export function greet(name) { // implementar logica aqui - return ""; + return "Hello " + name } + +console.log(greet("Maria"), "Hello Maria")// hello Maria +console.log(greet("Alvin"), "Hello Alvin")// hello Alvin +console.log(greet("Pedro Lucas"), "Hello Pedro Lucas")// Pedro Lucas \ No newline at end of file