Created
February 21, 2022 11:28
-
-
Save devrsantos/3d7d06e61a4de87ba344f18d59ff0f3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!true = false / !false = true / !!false = false / !!true = true / !1 = true / !!1 = false / !0 = false / !!0 = true / !!"" = false | |
let x = 5 ; | |
let y = 9; | |
x < 10 && x!==5 = false | |
x>9 || x===5 = true | |
!(x===y) = true | |
x = 10 | |
y = "a" | |
y==="b" || x>= 10 = true | |
x = 3 | |
y = 8 | |
!(x == "3" || x === y) && !(y !== 8 && x <= y) = false | |
let str = "" | |
let msg = "haha!" | |
let eBonito = "false" | |
!((str || msg) && eBonito) = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment