Skip to content

Instantly share code, notes, and snippets.

@zhuzhuaicoding
Created November 19, 2012 10:29
Show Gist options
  • Select an option

  • Save zhuzhuaicoding/4110011 to your computer and use it in GitHub Desktop.

Select an option

Save zhuzhuaicoding/4110011 to your computer and use it in GitHub Desktop.
arguments convert to array
var args = Array.apply([], arguments )
@zhuzhuaicoding
Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment