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

@@ -1,7 +1,9 @@
let x = [1, 2, 3];
print(x[1]); // prints 2
print("x[1] should be 2:");
print(x[1]);
x[1] = 5;
print(x[1]); // prints 5
print("x[1] should be 5:");
print(x[1]);