I am writing some code and used >> (right shift operator) , the ui is totally messed up.I debugged and found that its开发者_如何学运维 doing wrong math and finally found right shift operator is not working mac safari.
Is this a known behavior or i am doing something wrong.
fill with zeros with >>>
when you have big numbers
>>> 2147483648>>2
-536870912
>>> 2147483648>>>2
536870912
精彩评论