I cannot make this code work and have been stuck on it for hours, help!

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

  **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 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

You only need one function definition.

1 Like

thank you so much for your reply. which part is the function definition if you don’t mind me asking?

These parts are function definitions.

1 Like

thank you so much! I’m going to edit that

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