-
Just array
Small example with array
WAT?let a = 0; a+=+!![]; // a = 1
-
🤣 😂
Emojis in code? Why not?
WAT?let a = 0; a += '🤣'.charCodeAt(0)-'😂'.charCodeAt(0) // a = 1
-
Reduce something
This getting out of hand. Now there are
twothree variables! WAT?let a = 0; a = a + (""+(""+a[a])[2].charCodeAt()).split("").reduce((b,c) => +b + +c) // a = 1
-
Division?
Just another math stuff:
WAT?let a = 0; a += !(a[a]/a[a]==a[a]/a[a]) // a = 1
-
Wrong "Math"
Looks like today math wouldn’t be on our side:
WAT?let a = 0; a += "-1" < "-2" // a = 1