leo/compiler/_otests/boolean/all.leo

8 lines
156 B
Plaintext
Raw Normal View History

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