Tell us what’s happening: My test is not passing for some reason, please look at the code below to see if you identify the problem
Your code so far
// Example
function ourFunctionWithArgs(a, b) {
console.log(a - b);
}
ourFunctionWithArgs(4,1); // Outputs 5
// Only change code below this line.
function functionWithArgs1() {
console.log(1+2);
}
function functionWithArgs() {
console.log(7+9);
}
functionWithArgs1(3,16);
functionWithArgs(3,16);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/passing-values-to-functions-with-arguments