test/script/basic/list.js.EXPECTED

Thu, 12 Oct 2017 19:52:15 +0800

author
aoqi
date
Thu, 12 Oct 2017 19:52:15 +0800
changeset 1205
4112748288bb
parent 1126
0a5ec176e9d8
parent 952
6d5471a497fb
permissions
-rw-r--r--

merge

aoqi@0 1 l.class.name=java.util.ArrayList
aoqi@0 2 l.length=2
aoqi@0 3 l.size()=2
aoqi@0 4 l[0]=foo
aoqi@0 5 l[1]=bar
aoqi@0 6 --for each begin--
aoqi@0 7 foo
aoqi@0 8 bar
aoqi@0 9 --for each end--
aoqi@0 10 l[0]=foo
aoqi@0 11 l[1]=a
aoqi@0 12 l[0.9]=null
hannesw@1126 13 l['blah']=undefined
aoqi@0 14 l[size_name]()=2
aoqi@0 15 java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
aoqi@0 16 java.lang.IndexOutOfBoundsException: Index: Infinity, Size: 2
aoqi@0 17 java.lang.IndexOutOfBoundsException: Index: -Infinity, Size: 2

mercurial