slige/runtime/example.slg

15 lines
147 B
Plaintext
Raw Normal View History

2024-11-20 21:12:08 +00:00
fn add(a, b) {
+ a b
}
let result = 0;
let i = 0;
loop {
if >= i 10 {
break;
}
result = add(result, 5);
i = + i 1;
}