Skip to content

Instantly share code, notes, and snippets.

@n9986
Created January 30, 2014 07:46
Show Gist options
  • Save n9986/8704228 to your computer and use it in GitHub Desktop.
Save n9986/8704228 to your computer and use it in GitHub Desktop.
A good way to slice arguments passed to a method and make them array like
var args = Array.prototype.slice.call(arguments);
args.splice(0, 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment