mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
13 lines
143 B
Plaintext
13 lines
143 B
Plaintext
fn capture(count: int) {
|
|
print count;
|
|
print capture;
|
|
|
|
if (count > 5) {
|
|
return count;
|
|
}
|
|
|
|
return capture(count + 1);
|
|
}
|
|
|
|
print capture(0);
|