Last active
September 3, 2020 11:26
-
-
Save alenvlahovljak/62822982e204cc73ea9ceb5a856b2e96 to your computer and use it in GitHub Desktop.
How to handle comparison corner cases?
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 arr1 = []; | |
var arr2 = []; | |
//1. arr1 != arr2 | |
//2. (!(arr1 == arr2)) | |
//3. (!(false)) | |
if (true) console.log("It's true again!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment