blob: 9346820094087b1b369fd26e5c45345229d591bd [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