jdk-24/nashorn/test/script/basic/list.js.EXPECTED
Attila Szegedi df1606c088 8144919: Implement missing member handler for BeansLinker
Reviewed-by: lagergren, mhaupt, sundar
2016-01-14 13:24:03 +01: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