Now that we've defined our function, we can call it using the name and our arguments in parentheses.
For example, we can call our function like this:
"Kevin" is a string literal for the first argument (
"Smith" is a string literal for the second argument (
lastname). This will return
"KEVIN SMITH", as expected.
Remember: the advantage of writing a function is code reusability. We demonstrated an example of calling this function with two specific values. Passing in different values will give you different results, but the behavior will remain the same.