Basic JavaScript - Passing Values to Functions with Arguments

Tell us what’s happening:
Describe your issue in detail here.
its not a function or I´m doing something wrong here.
Your code so far

function functionWhitArgs(a,b) {
  console.log(a+b);
}
functionWhitArgs(1,2);
functionWhitArgs(7,9);

/* running tests
functionWithArgs should be a function.
functionWithArgs(1,2) should output 3.
You should call functionWithArgs with two numbers after you define it.
// tests completed
// console output
3
16
*/

Your browser information:

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

Challenge: Basic JavaScript - Passing Values to Functions with Arguments

Link to the challenge:

This function name has a typo

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