Created
September 7, 2012 04:37
-
-
Save easierbycode/3663169 to your computer and use it in GitHub Desktop.
function 'arguments' object
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 logStuff() { | |
for(var n = 0; n < arguments.length; n++) { | |
console.log(arguments[n]); | |
} | |
} | |
logStuff('a','b','c',1,2,3,{name:'Daniel'}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment