What does it do?
At first I thought it was a shorthand way of doing Math.max()
Every time I did (1 | 0)
or (0 | 2985235)
, I got back the larger number.
However, I was wrong, as I soon found out when I posted this question with the example:
(128|256|0)
which does not evaluate to 256
.
Thanks for the helpful replies.