changeset 47216 | 71c04702a3d5 |
parent 34979 | 03b189baa361 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/nashorn/script/basic/list.js.EXPECTED Tue Sep 12 19:03:39 2017 +0200 @@ -0,0 +1,22 @@ +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