leo/tests/compiler/console/conditional_assert.leo

7 lines
127 B
Plaintext
Raw Normal View History

2020-08-17 05:14:26 +03:00
function main(a: bool) {
if a {
console.assert(a == true);
} else {
console.assert(a == false);
}
}