challenge-algorithms-v2.0/01-greeting/index.js
2022-10-28 22:54:50 -03:00

9 lines
144 B
JavaScript

export function greet(name) {
console.log(`Hello ${name}`)
return "Hello " + name;
}
greet("Maria");
greet("Alvin");
greet("Pedro Lucas");