Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var a = 0, b = 0, c = 0, d = 0
- console.log(!a && !b && !c && !d) // true
- console.log(!(a || b || c || d)) // true
- a = 1
- b = 1
- c = 1
- d = 1
- console.log(!a && !b && !c && !d) // false
- console.log(!(a || b || c || d)) // false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement