10 lines
114 B
Plaintext
10 lines
114 B
Plaintext
let x = [1, 2, 3];
|
|
|
|
print("x[1] should be 2:");
|
|
print(x[1]);
|
|
|
|
x[1] = 5;
|
|
|
|
print("x[1] should be 5:");
|
|
print(x[1]);
|