rhai/scripts/array.rhai

5 lines
55 B
Plaintext
Raw Normal View History

2016-03-26 18:46:28 +01:00
var x = [1, 2, 3];
print(x[1]);
x[1] = 5;
print(x[1]);