Basic JavaScript - Passing Values to Functions with Arguments

Please Help
Sorry for posting here again. I just don’t understand that I am doing wrong at the moment. What am I missing here? Thank you to anyone that can explain!

Your code so far

function functionWithArgs(a,b)
{
  console.log (a+b);

}
functionWithArgs(1+2);
functionWithArgs(7+9);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Passing Values to Functions with Arguments

Link to the challenge:

the issue is in the function call
you can look at the test results - there are examples of correct function calls, instruction also has the example of function call

Thank you. I changed the call to the exact answers of the solutions then it was complete.

Thank you again!

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