repo.or.cz
/
tinyjs-rewrite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
formatting 90% done; encapsulated everything in the TinyJS namespace, and renamed...
[tinyjs-rewrite.git]
/
.svn
/
pristine
/
a4
/
a48e8c0a950a4bc2d0dd36c00c8d35940fc911fc.svn-base
blob
ebebe0127a3d855a5f4c1ed521522da4e5dc4ecf
1
// references for arrays
2
3
var a = [];
4
a[0] = 10;
5
a[1] = 22;
6
7
b = a;
8
9
b[0] = 5;
10
11
result = a[0]==5 && a[1]==22 && b[1]==22;