Created
November 6, 2014 16:18
-
-
Save yumitsu/887acd78c8fad4c0bbe9 to your computer and use it in GitHub Desktop.
Welcome to JS
This file contains 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 characters
> Object() | |
{} | |
> Object() == {} | |
false | |
> Object() == new Object() | |
false | |
> {} == new Object() | |
false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An object is never equal to another object.
console.log({} == {}) // > false