We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

LI • 2 years ago

[y,x]=[y^=x^=y,x^=y]
yields [x,y]
:-)

Timothee Cour • 4 years ago

> For any number x, x | 0 always yields x.

console.log(2147483648 | 0)
-2147483648

and other oddities:
console.log(2147483648 & 2147483648)
-2147483648