rhai/scripts/function_decl1.rhai
2020-05-02 16:23:36 +08:00

10 lines
120 B
Plaintext

// This script defines a function and calls it
fn bob() {
return 3;
}
print("bob() should be 3:");
print(bob());