vals = 1 <= arguments.length ? slice.call(arguments, 0) : [];
// Somewhere later...
app.some_function.apply(some_scope, vals);
This lets you have variable length argument lists. Explanation here
void 0
This is a safer way to use undefined since it is a statement (that always returns undefined) and cannot be overwritten (undefined can). Explanation here