One issue I see, you have:
That will log out the function itself. I assume that you want the result. You can either do:
to see the answer.
If you want to understand how that happens, that number 7 is passed into that function and is accepted as the first parameter, and we tell the function to call it “num” (inside the function). Then we do our math and return the value.
If that didn’t answer your question, please ask a specific question.