You can see that we start out by using the function keyword:
Then we give the function we are declaring a name.
In this case the name is highFive:
By giving a name to a function we will be able to use it later.
This allows us to also use it in more than one place.
This also allows us to use it more than one time.
Looking at our previous example:
You can see that all the parts are in there:
Note that we just type out the name.
We don't put an open parentheses nor a close parentheses to evaluate the function.
So you can see that when we use the name property, we get "highFive" as the name of the function.
In the code example we've been using we gave the function the following name: [bold/italics] highFive
So we defined it with a name and then checked that it did in fact have that name.
This gave us
So we know it's a function and we know it has a name and what that name is.
When we press return to evaluate the expression, the named function is evaluated.
We can then see that the function has been called.
The result is the string "yeah!"