Tell us what’s happening:
help me here guys i need to solve this task
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);
console.log(7+9);
}
functionWithArgs(1,2);//Outputs 3
functionWithArgs(7,9);//Outputs 16
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
.
Link to the challenge:
https://www.freecodecamp.org/challenges/passing-values-to-functions-with-arguments