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

9 lines
144 B
JavaScript
Raw Normal View History

export function greet(name) {
2022-10-29 01:54:50 +00:00
console.log(`Hello ${name}`)
return "Hello " + name;
}
2022-10-29 01:54:50 +00:00
greet("Maria");
greet("Alvin");
greet("Pedro Lucas");