Skip to content

Instantly share code, notes, and snippets.

@mischa
Created December 8, 2008 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mischa/33444 to your computer and use it in GitHub Desktop.
Save mischa/33444 to your computer and use it in GitHub Desktop.
>> hammer_of_truth = true
>> anvil_of_false = false
>> sword = hammer_of_truth && anvil_of_false
=> false
>> sword
=> false
>> sword = hammer_of_truth and anvil_of_false
=> false
>> sword
=> true # oops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment