Passing Values to Functions with Arguments: Help

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(7, 9) {
  console.log(7 + 9);
}


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36.

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

Don’t use hard coded numbers when you are creating the function

See the example, you create the function using variables so it can be used with any value, and then you call the function with numbers to give the result of the operation with those numbers

Solved it, thank you!