forked from M3-Academy/challenge-algorithms-v2.0
8 lines
269 B
JavaScript
8 lines
269 B
JavaScript
export function greet(name) {
|
|
// implementar logica aqui
|
|
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
|