mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 17:11:42 +03:00
12 lines
121 B
Plaintext
12 lines
121 B
Plaintext
function main(bit: u32) -> u32 {
|
|
let mut a = 5u32;
|
|
|
|
if bit == 1 {
|
|
a = 1;
|
|
} else {
|
|
a = 0;
|
|
}
|
|
|
|
return a
|
|
}
|