mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-24 10:41:57 +03:00
15 lines
207 B
Plaintext
15 lines
207 B
Plaintext
function iteration() -> u32 {
|
|
let a = 0u32;
|
|
|
|
for i in 0..10 {
|
|
a += 1;
|
|
}
|
|
|
|
return a
|
|
}
|
|
|
|
function main() {
|
|
const total = iteration() + iteration();
|
|
|
|
console.assert(total == 20);
|
|
} |