Pretty up scripts with print.

This commit is contained in:
Stephen Chung
2020-05-02 16:23:36 +08:00
parent fc99b981a1
commit fc66a7ecef
11 changed files with 32 additions and 13 deletions

View File

@@ -4,4 +4,6 @@ fn f(a, b, c, d, e, f) {
a - b * c - d * e - f
}
print(f(100, 5, 2, 9, 6, 32)); // should print 4
print("f() call should be 4:");
print(f(100, 5, 2, 9, 6, 32));