Lets take a look at this code:
var mainFunction = function() { altFunction.apply(null, arguments); }
The arguments that are passed to \"mainF
One liner to add additional argument(s) and return the new array:
[].slice.call(arguments).concat(['new value']));