Created
August 5, 2012 22:30
-
-
Save gtuckerkellogg/3267517 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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