What does "somevar >> 0" mean?


What does the notation somevar >> 0 mean in javascript?

Thanks


In a >> b, >> is a bitwise operator that shifts a in binary representation b (< 32) bits to the right, discarding bits shifted off. Reference: https://developer.mozilla.org/en/JavaScript/Reference/Operators/Bitwise_Operators


Bitwise right shift. Although somevar >> 0 looks weird.