ArrayList.js
function thisToArgs(that, args) {
  args = Array.prototype.slice.call(args, 0);
  args.unshift(that);
  return args;
}
function thisToArgs(that, args) {
  args = Array.prototype.slice.call(args, 0);
  args.unshift(that);
  return args;
}
Helper to use Function.prototype.call and prepend this to arguments

@param that
@param args
@returns {Array}