为什么~2等于-3?~操作员如何工作?
~
operators complement bitwise-operators
bitwise-operators ×1
complement ×1
operators ×1