Add new example scripts.

This commit is contained in:
Stephen Chung
2021-06-07 20:15:06 +08:00
parent c4b3ad7c7b
commit bed5256e2e
4 changed files with 35 additions and 2 deletions

View File

@@ -6,6 +6,6 @@ fn f(a, b, c, d, e, f) {
a - b * c - d * e - f + global::KEY
}
print("f() call should be 42:");
let result = f(100, 5, 2, 9, 6, 32);
print(f(100, 5, 2, 9, 6, 32));
print(`result should be 42: ${result}`);