Basic JavaScript - Passing Values to Functions with Arguments

Tell us what’s happening:

You should call functionWithArgs with two numbers after you define it.
how can I achieve it, please?

Your code so far

function functionWithArgs(a,b,c,d ){
  console.log(a+b)
  console.log(c+d)
  
}
functionWithArgs(1+2);
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/127.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Passing Values to Functions with Arguments

Here you have a function with 4 parameters instead of 2.

Here you are calling the function with 1 argument instead of 2.

In both cases, see how many things do you have separated by commas.

Welcome to our community!

The function should have two parameters, not four.

You have called the function two times. It should be called once. Pass only numbers, not the operator as arguments to the function.