test/script/basic/NASHORN-401.js.EXPECTED

Fri, 21 Mar 2014 20:24:01 +0530

author
sundar
date
Fri, 21 Mar 2014 20:24:01 +0530
changeset 772
c1f528e1d2f2
parent 97
757a49aaad02
child 952
6d5471a497fb
permissions
-rw-r--r--

8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
Reviewed-by: jlaskey, hannesw

jlaskey@3 1 int method 2
jlaskey@3 2 double method 2
jlaskey@3 3 string method 2
sundar@97 4 int method 3: 10
jlaskey@3 5 double method 3: 10.0
jlaskey@3 6 double method 3: 10.2
jlaskey@3 7 double method 3: NaN
jlaskey@3 8 int method 4: 10
jlaskey@3 9 double method 4: 10.2
jlaskey@3 10 double method 4: NaN

mercurial