1.0.0 • Published 11 years ago
rest-args v1.0.0
rest-args
A tiny util for getting all non-named arguments from a function via an arguments object.
usage:
function(foo, bar){
return restArgs(arguments);
}
called with: 1,2,3,4,5
will result in 345