Re:WTFPython – Understanding Python through surprising snippets
by beagle3 on Monday December 23, 2019 @05:10AM
(#21862636)
The real WTF here is that you are getting a power output from thee ^ operator, when it actually does xor. Indeed, I've never seen JavaScript mix up operators :)
/s