Performs a bitwise or on the value of a variable and the value of an expression and assigns the result to the variable.
在变数值和运算式的值上执行位元OR,然后将结果指派给变数。
Performs a bitwise or on two expressions, and assigns the result to the first argument.
在两个运算式上执行位元OR,并将结果指派给第一个引数。
When the string contains multiple values, the value of the returned object is the value of all specified values combined with a bitwise OR operation.
当字串包含多个值时,传回物件的值就是以位元运算OR组合所有指定值之后产生的值。
Bitwise-or adds bits to the resulting expression, whereas bitwise-and selects only those bits in common between its two operators.
按位或向结果表达式添加位,而按位与只选择两个运算符之间相同的位。
If the tested expression should contain the bitwise-or operator, then parentheses should be added around the conditional-expression.
如果被测试表达式中应当包含按位或运算符,则应当在条件表达式的两侧加上括号。
If the tested expression should contain the bitwise-or operator, then parentheses should be added around the conditional-expression.
如果被测试表达式中应当包含按位或运算符,则应当在条件表达式的两侧加上括号。
应用推荐