1
0
Fork 0
mirror of https://gitlab.com/mfocko/CodeWars.git synced 2024-11-22 16:43:46 +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";
}