Sample program.

This commit is contained in:
Manuel Friedli 2024-03-24 14:20:36 +01:00
parent 15b877a368
commit 8f8bb8f918
Signed by: manuel
GPG Key ID: 41D08ABA75634DA1
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// Program with comment
let x = 12;
let y = 2 * x;
y = y - 1;
if (y) {
exit (y);
} else {
exit (x);
}