I've seen a single | being used in code somewhere but I have no idea what it means. I know that || is 'or'.
I typed it in the console and these are my results:
1 | 0 // 1
0 | 1 // 1
1 | 2 // 3
2 | 4 // 6
Does |
just add the two numbers? Or is there more?