You can use Lodash here to make it cleaner `var args = _.toArray(arguments);`