blob: 601e64f5f801b10e61ece27ce6dfa03dd834ffff [file] [log] [blame]
This tests the bitwise operators work correctly in conjunction with undefined and null.
SUCCESS: 0 & null = 0
SUCCESS: 0 & undefined = 0
SUCCESS: 1 & null = 0
SUCCESS: 1 & undefined = 0
SUCCESS: 0 | null = 0
SUCCESS: 0 | undefined = 0
SUCCESS: 1 | null = 1
SUCCESS: 1 | undefined = 1
SUCCESS: 0 ^ null = 0
SUCCESS: 0 ^ undefined = 0
SUCCESS: 1 ^ null = 1
SUCCESS: 1 ^ undefined = 1