對於整型來說 | & 是位的運算
a|b: 或運算,每個位都是取最大值,所以會返回a和b中每個位(比特,即二進制)最大的值。同理a&b 與運算,會返回a和b中每個位(比特,即二進制)最小的值;
{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"typ
{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragr
{"type":"doc","content":[{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null