Additional comments powered by BackType
subscribe to my blog. You'll save me some bandwidth that way.
Additional comments powered by BackType
Tired of not knowing where you stack up against your friends on your favorite game, activity, or bodily function? We can help you with that.

Logical XOR in JavaScript
Of course there wouldn’t be an XOR function in JavaScript when I needed one. So I googled around and found an implementation at How To Create. But it only took two arguments. So I rolled my own supporting a variable number of arguments. In my personal stuff, I’ve put it into a Math library under the YAHOO namespace, and you can decide if you want to do that on your own.
Usage: