mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 07:11:53 +03:00
16 lines
210 B
Plaintext
16 lines
210 B
Plaintext
function main(a: u32) {
|
|
let b = 5u32;
|
|
|
|
if a == 1 {
|
|
b = 1;
|
|
} else {
|
|
b = 0;
|
|
}
|
|
|
|
if a == 1 {
|
|
console.assert(b == 1);
|
|
} else {
|
|
console.assert(b == 0);
|
|
}
|
|
}
|