13.12 Binary Bitwise Operators
Syntax
BitwiseANDExpression[In, Yield, Await] :
EqualityExpression[?In, ?Yield, ?Await]
BitwiseANDExpression[?In, ?Yield, ?Await]
&
EqualityExpression[?In, ?Yield, ?Await]
BitwiseXORExpression[In, Yield, Await] :
BitwiseANDExpression[?In, ?Yield, ?Await]
BitwiseXORExpression[?In, ?Yield, ?Await]
^
BitwiseANDExpression[?In, ?Yield, ?Await]
BitwiseORExpression[In, Yield, Await] :
BitwiseXORExpression[?In, ?Yield, ?Await]
BitwiseORExpression[?In, ?Yield, ?Await]
|
BitwiseXORExpression[?In, ?Yield, ?Await]
13.12.1 Runtime Semantics: Evaluation
BitwiseANDExpression :
BitwiseANDExpression
&
EqualityExpression
- Return ? EvaluateStringOrNumericBinaryExpression(BitwiseANDExpression,
&
, EqualityExpression).
BitwiseXORExpression :
BitwiseXORExpression
^
BitwiseANDExpression
- Return ? EvaluateStringOrNumericBinaryExpression(BitwiseXORExpression,
^
, BitwiseANDExpression).
BitwiseORExpression :
BitwiseORExpression
|
BitwiseXORExpression
- Return ? EvaluateStringOrNumericBinaryExpression(BitwiseORExpression,
|
, BitwiseXORExpression).