JavaScript: Bitwise shift of long long number
<p>I need to bitwise shift a value 64 times in JavaScript. But JavaScript starts rounding after 32.</p>

<p>For example:</p>

<p>for(var j = 0; j &lt; 64; j++)
{</p>

<pre><code> mask = mask &lt;&lt; 1;
 console.log(mask);
</code></pre>

<p>}</p>

<p>This prints value from 0 to  1073741824 but then rounds of and starts printing 0.</p>
