What does the notation somevar >> 0 mean in javascript?
Thanks
It's a bitwise operator. In this case, for shifting the first operand in binary representation the number of bits to the right specified in the second operand, discarding bits shifted off.
With a 0 as second operand, I guess it has no effect (shifting 0 bits, is getting the same value?).
I was wrong with this last. As explained at this @Gumbo's comment.