If you ever need an array that consists of extra arguments that you may or may not expect to have, apart from the ones you specifically declared, you can use the array rest parameter inside the arguments declaration as follows:
Example 1, optional arguments into an array:
function printArgs(arg1, ...