Created
March 17, 2017 06:59
-
-
Save debugmodedotnet/c5af5f95df0ca6461fa497ed445f7a18 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 foo = null; | |
if (foo > 9) { | |
console.log('greater than 9'); | |
} | |
if (foo < 9) { | |
console.log('less than 9'); | |
} | |
if (foo > -9) { | |
console.log('greater than -9'); | |
} | |
if (foo < -9) { | |
console.log('less than -9'); | |
} | |
if (foo == 0) { | |
console.log('equal to zero'); | |
} | |
if (foo === 0) { | |
console.log('equal to zero'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment