Stuck. What is wrong with my function?

Tell us what’s happening:

Hi, could you please have a look at my code, I am stuck. I don’t see the problem and still get the error message" functionWithArgs(7,9) should output 16 ."

Your code so far

function functionWithArgs(one,two){
functionWithArgs(7, 9);

Your browser information:

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

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

You should use the parameters as it is. You can’t convert it into digits or any other language.

Thank you, you answer made me realize that I wasn’t using the parameters properly. And it passed:

“function functionWithArgs(param1, param2){
console.log(param1+ param2)

I am glad I could help. Happy Coding!

1 Like