This operator performs a bit-wise OR operation on its operands.
Syntax:
exp1 | exp2
Usage:
7 | 8 // evaluates to 15 2 | 4 // evaluates to 6
This operator is not applicable to floating-point values.Previous ArticleGetting StartedNext Article