Tell us what’s happening:
Describe your issue in detail here.
Your code so far
function functionWithArgs(num1, num2) {
return num1 + num2;
}
console.log(functionWithArgs(1, 2)); // Debe mostrar 3
console.log(functionWithArgs(7, 9)); // Debe mostrar 16
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Challenge Information:
Basic JavaScript - Passing Values to Functions with Arguments
Hello @felizseguraabdias !
Try to use the example from the lesson as a reference.
Example from Lesson
function testFun(param1, param2) {
console.log(param1, param2);
}
Maybe do not use a return value, only one console.log like in the example.
Try to set your code the same way, only with the provided parameters.
I hope this helps you!
Happy coding!
1 Like
Keep up the good progress @felizseguraabdias!
system
Closed
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.