jdk-24/nashorn/test/script/basic/es6/let-eval.js.EXPECTED
Hannes Wallnöfer c74264d675 8075366: Slow scope access to global let/const does not work
Reviewed-by: sundar, attila, lagergren
2015-03-26 21:39:25 +01:00

21 lines
363 B
Plaintext

undefined undefined 0
ReferenceError: "x" is not defined
z: 1
assignment to z succeeded
ReferenceError: "z" is not defined
1
assignment to a succeeded
a: 1
b: 1
assignment to b succeeded
b: 1
TypeError: "c" is not a writable property of [object Object]
c: 0
2 1 0
2 1 0 undefined
undefined undefined undefined undefined undefined
v: 1
v: 2
this.v: undefined
v: 2