Passing Values to Functions with Arguments3

Tell us what’s happening:

What is wrong with my code?

Your code so far


function functionWithArgs(parameter1, parameter2); {
console.log(parameter1 + parameter2);
}
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/80.0.3987.163 Safari/537.36.

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

You have a semicolon in the middle of your first line. Think of a semicolon as a period at the end of a sentence. It shows that a code statement is over.