Why I can't pass this session?

Tell us what’s happening:

**Your code so far**

function functionWithArgs(a, b) { 
console.log(a + b);
}
functionWithArgs(1, 2);

function functionWithArgs(a, b) { 
console.log(a + b);
}
functionWithArgs(7, 9);


**Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36.

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

Hi,

You have defined the function functionWithArgs(a, b) twice!

Remove one of them!

2 Likes

Thank you :grinning:

1 Like

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