jdk-24/nashorn/test/script/basic/JDK-8047959.js.EXPECTED
Athijegannathan Sundararajan 566786aba6 8047959: bindings created for declarations in eval code are not mutable
Reviewed-by: jlaskey, attila
2014-06-24 19:43:44 +05:30

16 lines
270 B
Plaintext

delete x? false
typeof x = number
delete f? true
typeof f = undefined
delete foo? false
typeof foo = number
delete func? false
typeof func = function
delete foo? false
typeof foo? number
foo = 33
x in function = local
delete x? = true
x after delete = global
x = global