I completed this challenge using the same example from the video, and I understand it. I just found it a little tricky because the instructions didn’t include an example with the - or + in the console part. Also, where does the 3 and 16 come from?
function functionWithArgs(a, b) {
console.log(a + b);
}
functionWithArgs(10, 5)
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Passing Values to Functions with Arguments
Link to the challenge: