I am working on a mobile app, it needs to do bit shifting at some point of the code.
I ran into a bug which is certainly puzzling, and if I do it on Python it runs well.
JavaScript:
1000>>32 // resulting in 1000
Python:
1000>>32 // resulting in 0
Why the same operation brings back different result?