Skip to content

Instantly share code, notes, and snippets.

@arn-e
Created November 12, 2012 07:36
Show Gist options
  • Save arn-e/4058006 to your computer and use it in GitHub Desktop.
Save arn-e/4058006 to your computer and use it in GitHub Desktop.
Array Comparison 2
> myArray = [1,2,3,4,5]
[ 1, 2, 3, 4, 5 ]
> myArrayCopy = myArray;
[ 1, 2, 3, 4, 5 ]
> myArray === myArrayCopy;
true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment