forked from M3-Academy/challenge-algorithms-v2.0
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
export function greet(name) {
|
|
// implementar logica aqui
|
|
|
|
return "Hello" + " " + name;
|
|
}
|
|
|
|
|
|
|
|
// Resultados esperados
|
|
|
|
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
|