Format example scripts better.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
// This script defines a function with many parameters and calls it
|
||||
// This script defines a function with many parameters.
|
||||
//
|
||||
|
||||
const KEY = 38;
|
||||
|
||||
fn f(a, b, c, d, e, f) {
|
||||
a - b * c - d * e - f + global::KEY
|
||||
let x = global::KEY; // <- access global module
|
||||
a - b * c - d * e - f + x
|
||||
}
|
||||
|
||||
let result = f(100, 5, 2, 9, 6, 32);
|
||||
|
Reference in New Issue
Block a user