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

8 lines
150 B
Plaintext
Raw Normal View History

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