Sample program.
This commit is contained in:
parent
15b877a368
commit
8f8bb8f918
1 changed files with 9 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
||||||
|
// Program with comment
|
||||||
|
let x = 12;
|
||||||
|
let y = 2 * x;
|
||||||
|
y = y - 1;
|
||||||
|
if (y) {
|
||||||
|
exit (y);
|
||||||
|
} else {
|
||||||
|
exit (x);
|
||||||
|
}
|
Loading…
Reference in a new issue