Passing Values to Functions with Arguments 3

Tell us what’s happening:
I dont understand why it doesnt pass ?

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

Your browser information:

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

Link to the challenge:

statemements in javascript are concluded with a semicolon
add the semicolons and you will pass

1 Like