title: Bitwise XOR operator in JavaScript
body: <p>Why is this:</p>
  
  <pre class="lang-js prettyprint-override"><code>console.log("1100" ^ "0001")
  =&gt; 1101 // as expected
  
  console.log("1100" ^ "1001")
  =&gt; 1957 // ???
  </code></pre>
  
  <p>Please explain. Thanks.</p>