Function with arguments

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
When I call the function with two numbers as arguments the console shows only 3 and not 16 as expected ad I can not see the problem so I can uderstand why.
Can someone help me please? Thanks

function functionWithArgs(one,two){
console.log(1 + 2);

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/90.0.4430.93 Safari/537.36.

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

You have hardcoded the sum of 1 + 2 rather than using the inputs to your function

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.