Values to Functions arguments

hello guys, Can someone help me out with this one :

  1. Create a function called functionWithArgs that accepts two arguments and outputs their sum to the dev console.
  2. Call the function with two numbers as arguments.

functionWithArgs should be a function.

functionWithArgs(1,2) should output 3 .

functionWithArgs(7,9) should output 16 .

You should call functionWithArgs with two numbers after you define it.

1 Like

This sounds like an FCC challenge. Please include the code you’ve tried and a link to the challenge. In the future, pressing the Get Help -> Ask for Help button will do that for you.

1 Like

What part do you need help with? What do you have so far? What part isn’t working?

1 Like

The whole part !

I read the hint, i even copied the hint to my code but It didn’t work.

I would get out of the habit of copying the answers right now. That will only hurt your ability to learn programming.

In order to help we need

  1. The link to the challenge you are working on

  2. What code you have tried

  3. A brief description of what specifically you need help with

2 Likes

What is your code? What part isn’t working?

2 Likes

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