Created
January 3, 2015 21:55
-
-
Save Tordek/e6ed1fd3d8c42edcc082 to your computer and use it in GitHub Desktop.
Revisions
-
Tordek created this gist
Jan 3, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ $ node > a = [] [] > b = [] [] > a == b false > a === b false > a == a true > a === a true > % $ python Python 2.7.8 (default, Oct 18 2014, 12:50:18) [GCC 4.9.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> a = [] >>> b = [] >>> a == b True >>> a is b False