Is it possible to shift an unsigned number by 7 bits in JavaScript? I am trying to shift the number 1479636484000 to the right.
Both
1479636484000 >> 7
and
1479636484000 >>> 7
are returning incorrect answers for me. The expected result should be 11559660031. I suspect there may be a sign bit issue or that the number is too large to be supported. Is there a clever workaround for this problem?