Passing Values to Functions with Arguments help

Tell us what’s happening:

Your code so far

// Example
function ourFunctionWithArgs(a, b) {
  console.log(a - b);
ourFunctionWithArgs(10, 5); // Outputs 5

// Only change code below this line.
function functionWithArgs(one, two) {
  console.log(one + two);

functionWithArgs(7 + 9);

Cant figure out whats wrong with this, looked up the hint but that didnt help much. looked to similar threads but couldnt find my solution
Your browser information:

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

Link to the challenge:

Look at how the sample passes two arguments. How many arguments is your call to functionWithArgs() getting?

Notice the pattern:

ourFunctionWithArgs(a, b) {};
ourFunctionWithArgs(10, 5);

functionWithArgs(one, two) {};
functionWithArgs(7 + 9);

One of these things is not like the others, one of these things is not the same…


Drat!! Now i got that song stuck in my head!

1 Like

thanks bro. have a good one