1foo = 32; // 32 = 0b00100000
2bar = 9; // 9 = 0b00001001
3baz = 10; // 10 = 0b00001010
4foo |= bar; // 32 | 9 = 0b00101001 = 41
5 // now foo = 41
6foo |= baz; // 41 | 10 = 0b00101011 = 43
7 // now foo = 43
1foo = 32; // 32 = 0b00100000
2bar = 9; // 9 = 0b00001001
3baz = 10; // 10 = 0b00001010
4foo |= bar; // 32 | 9 = 0b00101001 = 41
5 // now foo = 41
6foo |= baz; // 41 | 10 = 0b00101011 = 43
7 // now foo = 43
8