Basic JavaScript - Passing Values to Functions with Arguments

Tell us what’s happening:
Describe your issue in detail here.
I’m having a hard time getting 16 and I type functionWithArgs(7,9); no check
Your code so far

function functionWithArgs() {
  console.log(1+2);
}
functionWithArgs(1,2);
function functionWithArgs() {
  console.log(7+9);
}
functionWithArgs(7,9);


Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Passing Values to Functions with Arguments

Link to the challenge:

You have the function defined twice. This’ll cause all sorts of issues.

1 Like

I got it now thanks!

1 Like

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