Basic JavaScript - Passing Values to Functions with Arguments

Tell us what’s happening:
Describe your issue in detail here.
I don’t know what I’m doing wrong here. Please help!

Your code so far

 Function FunctionWithArgs { console.log(a,b)}
functionWithArgs(1, 2);
functionWithArgs(7, 9);

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.1 Safari/605.1.15

Challenge: Basic JavaScript - Passing Values to Functions with Arguments

Link to the challenge:

This isn’t the syntax shown for declaring a variable

function testFun(param1, param2) {
  console.log(param1, param2);
}

Capitalization matters!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.