Functions with Arguments?

Tell us what’s happening:
Below is my code: In the challenge it provides two sets of parameters. I am not sure how to resolve this. Please help>

function functionWithArgs(a,b);
{
  console.log(a+b);
  }
  functionWithArgs(1,2);
  function functionWithArgs(c,d);
  {
    console.log(c+d)

  }
  functionWithArdgs(7,9);

Your code so far


function functionWithArgs(a,b);
{
console.log(a+b);
}
functionWithArgs(1,2);
function functionWithArgs(c,d);
{
  console.log(c+d)

}
functionWithArdgs(7,9);

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15.

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

You have a function named functionWithArgs declared twice. There shouldn’t be two functions with the same name.

Your last line attempts to call functionWithArdgs(), which is spelled wrong.