Greeter Function
An introduction to making your own functions

Task:

Make a function which accepts a single argument - a person's name - and uses this name to greet them by printing to the console.
For example, I might expect to use the function like this:
1
greetByName('Cameron Pavey');
2
Hello Cameron Pavey, how are you today?
Copied!

Bonus:

If the name provided is YOUR name, make it give you a special greeting
Last modified 1yr ago
Copy link
Contents
Task:
Bonus: