Basic JavaScript - Passing Values to Functions with Arguments

Tell us what’s happening:
Describe your issue in detail here.
What am I doing wrong?

Your code so far

function functionWithArgs(arg1, arg2) {
  console.log(arg1, arg2);
}
functionWithArgs("3","16");

Your browser information:

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

Challenge: Basic JavaScript - Passing Values to Functions with Arguments

Link to the challenge:

  1. Create a function called functionWithArgs that accepts two arguments and outputs their sum to the dev console.

Read the second half of that sentence closely.

1 Like

Also, are those number you’re sending? Are you sure?

1 Like

Thanks, finished it.