Help me for this

Tell us what’s happening:

i have no idea what to do here

Your code so far



function ourfunctionWithArgs(1, 2) {
console.log(1 + 2);
}

ourfunctionWithArgs(1,2);

function functionWithArgs(7,9) {
console.log(7 + 9);
}
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/80.0.3987.149 Safari/537.36.

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

What part is confusing? What have you tried?

  1. create a function called functionWithArgs that accepts two arguments and outputs their sum to the dev console.
  2. Call the function with two numbers as arguments.

below that it says :
functionWithArgs should be a function.

functionWithArgs(1,2) should output 3 .

functionWithArgs(7,9) should output 16 .

You should call functionWithArgs with two numbers after you define it.

hope this can help

Argument variables follow the same naming rules as other variables. They cannot be numbers.

im stuck man can u tell me more

Give your arguments different names. Names that are not numbers.

function functionWithArgs(one, two) {

console.logo(one + two);

}

fundtionWithArgs(one, two);

i tried this isnt working

fundtionWithArgs(one, two);

Aside from the fact that you spelled the function wrong, you aren’t calling the function with two numbers as arguments.