Sign in
apache
/
teaclave-crates
/
2b87d3972d43fa0fee2496dfc703e4f772ffbe9f
/
.
/
rhai
/
scripts
/
array.rhai
blob: 1c449fd0e9b9e7d448e281c8fd9fb26f708156ca [
file
] [
log
] [
blame
]
let
x
=
[
1
,
2
,
3
];
print
(
"x[1] should be 2:"
);
print
(
x
[
1
]);
x
[
1
]
=
5
;
print
(
`x[1] should be 5: ${x[1]}`
);