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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26377
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     1
undefined undefined 0
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     2
ReferenceError: "x" is not defined
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     3
z: 1
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     4
assignment to z succeeded
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     5
ReferenceError: "z" is not defined
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     6
1
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     7
assignment to a succeeded
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     8
a: 1
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     9
b: 1
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    10
assignment to b succeeded
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    11
b: 1
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    12
TypeError: "c" is not a writable property of [object Object]
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    13
c: 0
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    14
2 1 0
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    15
2 1 0 undefined
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    16
undefined undefined undefined undefined undefined