Passing values to function with arguments

Tell us what’s happening:
Describe your issue in detail here.
I can’t see where is my mistake.
I have watched de video help and there is no difference between the video and my code.

  **Your code so far**

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

functionWhithArgs(1,2);
  **Your browser information:**

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

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

What are you trying to accomplish? What part isn’t working?

It looks like you have a typo in y our function call, so I’m guessing that’s your problem.

1 Like