blob: 1c840b4a0eb1ac8a18de1136f34499d1b34e53b6 [file] [log] [blame]
function assert(a) {
if (!a)
throw new Error("Bad assertion");
}
let a = 0b11n;
for (let i = 0; i < 1000000; i++) {
a &= 0b01n;
}
assert(a === 0b01n);