test/script/basic/JDK-8047959.js.EXPECTED

Thu, 05 Feb 2015 14:47:28 +0100

author
hannesw
date
Thu, 05 Feb 2015 14:47:28 +0100
changeset 1229
f8da39d33117
parent 963
e2497b11a021
permissions
-rw-r--r--

8068872: Nashorn JSON.parse drops numeric keys
Reviewed-by: attila, lagergren

attila@963 1 delete x? false
attila@963 2 typeof x = number
attila@963 3 delete f? true
attila@963 4 typeof f = undefined
attila@963 5 delete foo? false
attila@963 6 typeof foo = number
attila@963 7 delete func? false
attila@963 8 typeof func = function
attila@963 9 delete foo? false
attila@963 10 typeof foo? number
attila@963 11 foo = 33
attila@963 12 x in function = local
attila@963 13 delete x? = true
attila@963 14 x after delete = global
attila@963 15 x = global

mercurial