leo/compiler/tests/statements/iteration_variable.leo

7 lines
96 B
Plaintext

function main() {
let x: u32 = 5;
for i in 0..x {
console.log("{}", i);
}
}