1
0
Fork 0
mirror of https://gitlab.com/mfocko/CodeWars.git synced 2024-11-09 19:19:07 +01:00
CodeWars/8kyu/grasshopper_personalized_message/solution.js

7 lines
124 B
JavaScript
Raw Normal View History

function greet (name, owner) {
if (name == owner)
return "Hello boss";
else
return "Hello guest";
}