function functionWithArgs(1, 2) {console.log(1, 2);}
functionWithArgs();
Your browser information:
User Agent is: Mozilla/5.0 (Linux; U; Android 10; Nokia 3.4 Build/QKQ1.200719.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/81.0.4044.138 Mobile Safari/537.36 OPR/56.1.2254.57583
Challenge: Passing Values to Functions with Arguments
Arguments (just like any other variable) cannot start with a number, let alone be nothing but a number.
Also an “argument” is included when calling the function, unless you set a default value (which comes later). Your function call doesn’t contain any arguments.
Please read the task again and try to understand what is happening there.