challenge-algorithms-v2.0-M.../01-greeting/index.js

8 lines
269 B
JavaScript
Raw Normal View History

export function greet(name) {
// implementar logica aqui
2022-11-02 00:12:27 +00:00
return "Hello " + name
}
2022-11-02 00:12:27 +00:00
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