Skip to content

Instantly share code, notes, and snippets.

@kevinwestern
Created July 2, 2012 05:05
Show Gist options
  • Select an option

  • Save kevinwestern/3031204 to your computer and use it in GitHub Desktop.

Select an option

Save kevinwestern/3031204 to your computer and use it in GitHub Desktop.
var test = [1,2,3],
copy = test.slice();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment