Not sure whats wrong :(!

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(a,b) {
return(a + b);
}
functionWithArgs(1,2);
console.log(functionWithArgs(7,9));
console.log(functionWithArgs(1,2));

Your browser information:

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

Challenge: Passing Values to Functions with Arguments

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/passing-values-to-functions-with-arguments

you need to make your function behave like the other

  1. Create a function called functionWithArgs that accepts two arguments and outputs their sum to the dev console.

your function doesn’t print to the console