I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
In addition to what @JeremyLT pointed out, function parameters are supposed to be named the way you name variables. You can then pass in arguments when invoking the function. For example you cannot declare a variable like const 1 = 200 because 1 is not a valid variable name or to be exact not a valid identifier.
The same rule applies when declaring functions function foo(1, 2) { return 1 + 2;} is not correct because 1 and 2 are not valid variable names or identifiers. You can do something of the sort:
function foo(arg1, arg2){
return arg1 + arg2;
}
The above will work because arg1 and arg2 are valid identifiers i.e. They can be used as variable names.
You can read more about identifiers in the answers to this StackOverflow question.