var bug = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
I am encountering this type of pattern in React and was confused by what it does. When I tried with numbers I get 15. How does that expressions sum to 15?
I realize now this is a Facebook Flow thing. I don't believe is Bitwise OR as marked.