首页 > js 里的位运算都有哪些常见用途?
按位与 & 按位或 | 按位非 ~ 异或 ^ 左移 << 右移 >> 无符号右移 >>>
分别有那些常见的用法?
参见这里
~function(){console.log( 2<<3 )}()