JavaScript 中的按位右移运算符 (>>) 是什么?
javascriptweb developmentfront end technology
左操作数的值向右移动右操作数指定的位数。
示例
您可以尝试运行以下代码来了解如何使用按位右移运算符 −
<html>
<body>
<script>
var a = 2; // 位表示 10
var b = 3; // 位表示 11
document.write("(a >> b) => ");
result = (a >> b);
document.write(result);
</script>
</body>
</html>
相关文章
有用资源
javascript 参考教程 - 该教程包含有关 javascript 的更多信息:https://www.cainiaomax.com/javascript/

