leo/asg/tests/pass/boolean/all.leo

8 lines
156 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
// !(true && (false || true))
function main() {
const a = true;
const b = false || a;
const c = !(true && b);
2021-01-25 18:17:42 +03:00
console.assert(c == false);
}