Why am I getting an error when multiplying with functions?

Tell us what’s happening:
I keep getting an error that timesFive(5) should return 25 and so on. What am I doing wrong?

  **Your code so far**

function timesFive(a) {
a * 5;
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36

Challenge: Return a Value from a Function with Return

Link to the challenge:

You can use a return statement to send a value back out of a function.

1 Like

Thank you so much! That did it. :grinning:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.