Why would you write x = x >>> 0
?
According to mozilla a >>> b
:
Shifts a in binary representation b bits to the right, discarding bits shifted off, and shifting in zeros from the left.
and shifting by 0 bits doesn't seem that useful.
Why would you write x = x >>> 0
?
According to mozilla a >>> b
:
Shifts a in binary representation b bits to the right, discarding bits shifted off, and shifting in zeros from the left.
and shifting by 0 bits doesn't seem that useful.