1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-04-29 00:42:16 +00:00

15 lines
201 B
TypeScript
Raw Normal View History

export function loopWhile(n: i32): void {
while (n) {
n = n - 1;
}
}
export function loopWhileInWhile(n: i32): void {
while (n) {
n = n - 1;
while (n) {
n = n - 1;
}
}
}