This website requires JavaScript.
Explore
Help
Register
Sign In
kjuulh
/
rhai
Watch
1
Star
0
Fork
0
You've already forked rhai
Code
Issues
1
Pull Requests
1
Packages
Projects
Releases
Wiki
Activity
e0514a4ec0
rhai
/
scripts
/
array.rhai
8 lines
96 B
Plaintext
Raw
Normal View
History
Unescape
Escape
[BREAKING CHANGE] change variable keyword to 'let' from 'var'
2017-10-02 08:46:35 +02:00
let x = [1, 2, 3];
Put comments into example scripts.
2020-03-16 07:50:12 +01:00
print(x[1]); // prints 2
Add support for arrays
2016-03-26 18:46:28 +01:00
x[1] = 5;
Put comments into example scripts.
2020-03-16 07:50:12 +01:00
print(x[1]); // prints 5
Reference in New Issue
Copy Permalink