请教下各位 js里的按位运算符 | 到底起到了什么作用啊?看了很多资料 解释的都很朦胧 我在看一个源代码时 看到的这个 不知道是一种什么逻辑: this.absorbType = Type.BulletHuman|Type.BulletComputer; //吸收(使消失)何种类型的Unit 其中Type.BulletHuman = 0x4;Type.BulletComputer = 0x8;那么 0x4 | 0x8 表示了什么意义啊?