按位与赋值 (&=)
按位 AND 赋值 (&=
) 运算符对两个操作数执行 按位与 并将结果赋给左侧操作数。
¥The bitwise AND assignment (&=
) operator performs bitwise AND on the two operands and assigns the result to the left operand.
Try it
语法
描述
示例
使用按位 AND 赋值
规范
Specification |
---|
ECMAScript Language Specification # sec-assignment-operators |
浏览器兼容性
BCD tables only load in the browser
也可以看看
¥See also