leo/compiler/tests/boolean/all.leo

8 lines
150 B
Plaintext
Raw Normal View History

// !(true && (false || true))
function main() {
let a = true;
let b = false || a;
let c = !(true && b);
2020-08-17 03:20:47 +03:00
console.assert(c == false);
}