feat: resolve funcão greet

This commit is contained in:
José Gregorio Mata Rodríguez 2022-10-29 00:30:43 -02:00
parent c6f6df9c59
commit 2dfd633655

View File

@ -1,4 +1,10 @@
export function greet(name) { export function greet(name) {
// implementar logica aqui // implementar logica aqui
return ""; let hello;
if (name)
hello = 'Hello ' + name;
else
hello = 'Adicione um nome na funcão';
return hello;
} }