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:
greetByName('Cameron Pavey');
Hello Cameron Pavey, how are you today?

Bonus:

If the name provided is YOUR name, make it give you a special greeting
Copy link
On this page
Task:
Bonus: