x <<= y (x = x << y)
x >>= y (x = x >> y)
x >>>= y (x = x >>> y)
x &= y (x = x & y)
x ^= y (x = x ^ y)
x |= y (x = x | y)
这些不同的运营商做了什么?
javascript bit-manipulation operators
somevar >> 0JavaScript 中的符号含义是什么?
somevar >> 0
谢谢
javascript operators
javascript ×2
operators ×2
bit-manipulation ×1