Skip to content

Instantly share code, notes, and snippets.

@m98
Created April 7, 2017 00:33
Show Gist options
  • Save m98/7490f9c9b4d41a498295b43d1dbade28 to your computer and use it in GitHub Desktop.
Save m98/7490f9c9b4d41a498295b43d1dbade28 to your computer and use it in GitHub Desktop.
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