Pretty up scripts with print.
This commit is contained in:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user