What does “somevar >> 0” mean?

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

Leave a Comment