Format example scripts better.

This commit is contained in:
Stephen Chung
2022-01-20 12:06:36 +08:00
parent 6b06019265
commit b63b4cb3af
22 changed files with 72 additions and 30 deletions

View File

@@ -1,9 +1,9 @@
// This script defines a function and calls it
// This script defines a function and calls it.
fn bob() {
fn call_me() {
return 3;
}
let result = bob();
let result = call_me();
print(`bob() should be 3: ${result}`);
print(`call_me() should be 3: ${result}`);