>)运算符是什么?>
使用位右移操作符,将位从左边移动。最右边的位不被考虑。
示例您可以尝试运行以下代码,了解如何使用javascript位右移操作符。
<!doctype html><html> <body> <script> document.write("bitwise right shift operator<br>"); document.write(-7>>1); </script> </body></html>
以上就是javascript位右移(>>)运算符是什么?的详细内容。