problem with Passing Values to Functions with Arguments

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

  **Your code so far**

function functionWithArgs() {
console.log(1 + 2);
console.log(7 + 9);
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

1 Like

You need to write a function with parameters, that means it needs something in between the round parenthesis here:

in the same way you can see in the example:

function testFun(param1, param2) {
  console.log(param1, param2);
1 Like

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