您好,欢迎访问一九零五行业门户网

JavaScript位非(~)运算符是什么?

按位非 (~) 运算符对位执行非运算。您可以尝试运行以下代码来了解如何使用 javascript 按位 not 运算符。
示例<!doctype html><html> <body> <script> document.write("bitwise not operator<br>"); // 7 = 00000000000000000000000000000111 document.write(~7); </script> </body></html>
以上就是javascript位非(~)运算符是什么?的详细内容。
其它类似信息

推荐信息