Tell us what’s happening:
I got the first one right but when I add the second it kicks the first back as wrong
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(){
console.log(1 + 2);
}
functionWithArgs(1, 2);
function functionWithArgs(){
console.log(7 + 9);
}
functionWithArgs(7, 9);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 OPR/54.0.2952.54
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/passing-values-to-functions-with-arguments/