What does the caret symbol (^) do in Javascript
<p>I thought that <code>Math.pow(2,2)</code> was equal to <code>2^2</code> but it is not. So what does ^ (caret) mean in Javascript?</p>

<p>I was executing some test in the console but didn't recognize the results </p>

<pre><code>2 ^ 2 = 0
2 ^ 3 = 1
1 ^ 2 = 3
</code></pre>
