8 lines
96 B
Plaintext
8 lines
96 B
Plaintext
let x = [1, 2, 3];
|
|
|
|
print(x[1]); // prints 2
|
|
|
|
x[1] = 5;
|
|
|
|
print(x[1]); // prints 5
|