它是一元运算符,通过反转操作数中的所有位进行操作。
您可以尝试运行以下代码以了解如何使用按位NOT运算符(〜)-
<html> <body> <script> var b = 3; // Bit presentation 11 document.write("(~b) => "); result = (~b); document.write(result); </script> </body> </html>
友情链接: json在线解析 通晓查询 糯晒黄历 姓名打分