-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Should mention
- that the function expects a single argument; although ....
- forEach function, you can certainly omit the argument, in which case you'll only be able to access it by the special "arguments" variable within a function. You can do arguments[0] to get the first argument, regardless of whether you declared it in the function signature, and you can also access arguments.length for get the number of arguments passed.