Created
April 2, 2015 14:19
-
-
Save andineck/304998f110fe6f956f9f to your computer and use it in GitHub Desktop.
javascript arguments
This file contains 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
// turn function arguments into an array | |
var args = [].slice.apply(arguments) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment