What Is a Function?
Parameters and Arguments
How to Invoke a Function
If you do not have any parameters for your function, you can use an empty set of parentheses to invoke it. It would look like this:
Logging out of this test value returns a result of nine. Another important rule when it comes to the return statement is that it will immediately stop the function.