nashorn/test/script/basic/es6/let-eval.js.EXPECTED
author hannesw
Thu, 04 Sep 2014 15:37:14 +0200
changeset 26377 028dad61662f
child 29756 cf18a59c63d7
permissions -rw-r--r--
8051889: Implement block scoping in symbol assignment and scope computation Reviewed-by: attila, lagergren

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