diff --git a/01-greeting/index.js b/01-greeting/index.js index 8f551af..6df56c8 100644 --- a/01-greeting/index.js +++ b/01-greeting/index.js @@ -1,4 +1,10 @@ export function greet(name) { // implementar logica aqui - return ""; -} + let hello; + if (name) + hello = 'Hello ' + name; + else + hello = 'Adicione um nome na funcão'; + + return hello; +} \ No newline at end of file