Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ternary = foo ? !bar : bar
  2. xor = !!(foo ^ bar)
  3. neq = foo != bar
  4.  
  5. foo | bar | xor | ternary | neq
  6. -------------------------------------
  7. true | true | false | false | false
  8. false | false | false | false | false
  9. true | false | true | true | true
  10. false | true | true | true | true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement