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: