Tell us what’s happening:
The following code passed the tests for this challenge, but I notice In the console there are some additional values being displayed. At first is prints 5, then undefined, 3, 16, 5,undefined. What’s happening here?
Thank you for any and all input!
Your code so far
function functionWithArgs(arg1,arg2) {
console.log(arg1 + arg2);
}
console.log(functionWithArgs(2,3));
**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/15.3 Safari/605.1.15
Challenge: Passing Values to Functions with Arguments
Link to the challenge: