title: Bitwise operations' significance in javascript
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/654057/where-would-i-use-a-bitwise-operator-in-javascript">Where would I use a bitwise operator in JavaScript?</a>  </p>
  </blockquote>
  
  
  
  <p>In <code>c/c++</code> <em>bitwise operations</em> are faster than normal(arithmetic) operations(significant atleast in low performance processors). Does the same apply in <code>js</code>? I don't think as the reason its faster in c is bitwise operations are hardwired and usually are completed in 1 processor cycle. But <code>js</code> runs within browser which doesn't have any such hardware(registers I mean) access. I am not sure (around 70% sure :) ). What are typical(or some smarter) uses of bitwise operators (especially in <code>js</code> but I would like to know others too). Please correct me if I am wrong anywhere.</p>