Created
July 27, 2011 15:13
-
-
Save DavidQL/1109585 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
(function(one, two) { | |
// every function receives | |
// an array of all the arguments | |
// even those that your function doesn't "accept" | |
return arguments; // ['first argument', 2, 'I am a third argument'] | |
})('first argument', 2, 'I am a third argument'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment