Skip to content

Instantly share code, notes, and snippets.

@gtuckerkellogg
Created August 5, 2012 22:30
Show Gist options
  • Save gtuckerkellogg/3267517 to your computer and use it in GitHub Desktop.
Save gtuckerkellogg/3267517 to your computer and use it in GitHub Desktop.
// This is a little bit for using extended args
var f = function (id) {
// The first arg is an id. let's get the rest.
// the args variable will come back as a real array, after the first arg
var args = [].slice.call(arguments,1);
return(args)
} ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment