Tell us what’s happening:
Your code so far
// Example
function ourFunctionWithArgs(a, b) {
console.log(a - b);
}
ourFunctionWithArgs(10, 5); // Outputs 5
// Only change code below this line.
function functionWithArgs(b, c) {
console.log(b + c);
}
functionWithArgs(1, 2);
functionWithArgs(7, 9);
i can’t seem to get the correct answer for this problem and i have been looking for the solution yet i still cant seem to find a viable answer to this issue. can someone please help me out.
thank you
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/passing-values-to-functions-with-arguments