To create a function which accepts an undetermined number of arguments, there are two methods depending on your environment.
5
Whenever a function is called, it has an Array-like arguments object in its scope, containing all the arguments passed to the function.
Indexing into or iterating over th...