Created
August 28, 2020 10:18
-
-
Save alenvlahovljak/92a697da233435b47f7f4138841fd191 to your computer and use it in GitHub Desktop.
How does Abstract Equality Comparison work?
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
var number = 42; | |
var array = [42]; | |
if (number == array) console.log("It works. Is this a magic?"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment