The instruction; " 1. Create a function called functionWithArgs that accepts two arguments and outputs their sum to the dev console."
Add the two arguments between paretheses after the given function:
(arg1, arg2) for example
Then, console.log statement within the function should contain a sum of those two arguments: arg1 + arg2.
Now, when you call the function with concrete numbers as arguments, those numbers should be printed as output in the console.
What should you have here: concrete numbers or arguments num1 and num2?
If you pass those two arguments num1 and num2 to the function, you should make a calculation with them. The ‘real’ numbers are added to the function when you call it: functionWithArgs(7,9);
Your statement within the function should return printed sum: (numberOne + numberTwo). Those are arguments, not the numbers here. Don’t put concrete numbers in the sum…