Created
April 7, 2017 00:33
-
-
Save m98/7490f9c9b4d41a498295b43d1dbade28 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
true - 56 * 2 == false - 111 / 2 * (3 / 1.5) //true | |
/** | |
* I said I'm minimalist but I should explain this one | |
* First of all, Sorry, I was kidding in this gist :) | |
* I tried to make it look confusing, it's very simple | |
* both false and true have default value, true==1; and false == 0; | |
*/ | |
true - 1 == false //true (here true -1 will be 0 and false default value is already 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment