jdk-24/test/nashorn/script/basic/list.js.EXPECTED
2017-09-12 19:03:39 +02:00

23 lines
324 B
Plaintext

l.class.name=java.util.ArrayList
l.length=2
l.size()=2
l[0]=foo
l[1]=bar
--for each begin--
foo
bar
--for each end--
l[0]=foo
l[1]=a
l[0.9]=undefined
l['blah']=undefined
l[size_name]()=2
l[2]=undefined
l[-1]=undefined
l[2.1]=undefined
l[-1.1]=undefined
l[Infinity]=undefined
l[-Infinity]=undefined
l[NaN]=undefined
l[0]=foo