CAN SOMEBODY TELL ME WHAT THIS MEANS. people please help,
Hi Forknife3!
A parameter is for example a variable you pass to a function
example:
function multiply(numA, numB){
return numA * numB;
}
Meaning, you don’t use semicolons ; or similar to seperate each possible “variable” to pass to the function
example usage:
var result = mulitply(10 , 5);
the comma , seperates the 10 from the 5, telling it that it’s a different parameter for the function.
Hope this helped as a quick explanation.
You’re missing ) in that line, so the game thinks that you try to have a different parameter after the :
Thank you for helping me I didn’t know that.
Nothing to thank for, mistakes happen all the time