trivia: !!x|0 ^ !!y|0 is how you write logical xor in JS :P
-
-
it should, but it doesn't work inline, wondering if jsbin has a transpile/uglify step that messes up
-
-
-
updated the example to correct the parens issue http://jsbin.com/devuleb/4/edit?js,console …
-
I feel like this should tell me *something* about the order of operations with bitwise things…pic.twitter.com/HZf6Uj398D
-
You can move the parens around (to some degree), but the bitwise XOR seems to consume things oddly
-
Anyway, if someone can explain, plz do. Bitwise stuff still breaks my mind a little :(
End of conversation
New conversation -
-
-
right on point, linux uses similar stuff all the time: https://github.com/torvalds/linux/blob/df5f0f0a028c9bf43949398a175dbaafaf513e14/include/linux/bug.h#L37 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.