leo/compiler/tests/boolean/all.leo

8 lines
156 B
Plaintext
Raw Normal View History

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