Lets take a look at this code:
var mainFunction = function() { altFunction.apply(null, arguments); }
The arguments that are passed to \"mainF
var myABC = '12321'; someFunction(result, error, myCallback.bind(this, myABC));
Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind