Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ternary = foo ? !bar : bar
- xor = !!(foo ^ bar)
- neq = foo != bar
- foo | bar | xor | ternary | neq
- -------------------------------------
- true | true | false | false | false
- false | false | false | false | false
- true | false | true | true | true
- false | true | true | true | true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement