Define function with two numbers

Hi, I’m stuck in this exercise where it ask me to define the function with two number. I really do not know what to type in.

function funtionWithArgs(a, b) {
console.log(a + b);
}
funtionWithArgs(1 +2)

function functionWithArgs(c, d) {
console.log(c + d);
}
funtionWithArgs(7 + 9)

funtionWithArgs();

It would be great if you could provide a link to the challenge you’re trying to complete

Hi this is the link to the challenge

Thank you

Delete whatever is after this line and you’ll pass the test

1 Like

First, when you are supposed to define ONE function but you write two, that could run into problems.

Second please check the spelling. Code is very sensitive and if you call the undefined “funtion”-thing, it will throw an error and fail the tests.

I really recommend you to check the “Get Hint” section, so you can see how is structured the answer and get an idea of how to do it.

1 Like

Thank you everyone for your help!