Last active
August 29, 2015 14:02
-
-
Save chrismahon/6921bae22b42a5482696 to your computer and use it in GitHub Desktop.
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 x = 42; | |
var y = "42"; | |
if (x ===y) { | |
document.write("x is equal to y with a strict test."); | |
} else { | |
document.write("x is not equal to y"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment