You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
117 B
12 lines
117 B
14 years ago
|
// references for arrays
|
||
|
|
||
|
var a;
|
||
|
a[0] = 10;
|
||
|
a[1] = 22;
|
||
|
|
||
|
b = a;
|
||
|
|
||
|
b[0] = 5;
|
||
|
|
||
|
result = a[0]==5 && a[1]==22 && b[1]==22;
|