rhai/scripts/array.rhai
2016-03-26 10:46:28 -07:00

5 lines
55 B
Plaintext

var x = [1, 2, 3];
print(x[1]);
x[1] = 5;
print(x[1]);