Technical issue

Hello, I don’t know if there is a technical issue or what but when I’m clicking on run the test it doesn’t run, however when I clicked on get help or reset the code it did

Your code so far


function functionWithArgs(1,2)
{
console.log(1+2);
}
functionWithArgs(7,9);

Your browser information:

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

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

This isn’t how functions work. Look at the example:

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

When you run the function, that’s when you give it values.

testFun(1, 2)

param1 is assigned the value 1, param2 is assigned the value 2, the result is that the function console.log(1, 2) is ran.

You can run it with different values

testFun("hello", "world")
testFun(true, false)
testFun(10, 20)

So this:

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

Doesn’t make sense. “1” and “2” aren’t names of parameters that get assigned values when you run functionWithArgs, they’re numbers. You can’t assign 7 to 1, or 9 to 2, so this can’t work:

functionWithArgs(7, 9)

Tank you , it’s clear now