XOR: are these two equivalent?
<p>I saw this piece of code in the underscore.js source:</p>

<pre><code>if ((!a &amp;&amp; b) || (a &amp;&amp; !b)) return false;
</code></pre>

<p>Is that equivalent to the following?</p>

<pre><code>if (a ^ b) return false;
</code></pre>
