nashorn/test/script/basic/es6/let-eval.js.EXPECTED
author hannesw
Thu, 26 Mar 2015 21:39:25 +0100
changeset 29756 cf18a59c63d7
parent 26377 028dad61662f
permissions -rw-r--r--
8075366: Slow scope access to global let/const does not work Reviewed-by: sundar, 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
29756
cf18a59c63d7 8075366: Slow scope access to global let/const does not work
hannesw
parents: 26377
diff changeset
    17
v: 1
cf18a59c63d7 8075366: Slow scope access to global let/const does not work
hannesw
parents: 26377
diff changeset
    18
v: 2
cf18a59c63d7 8075366: Slow scope access to global let/const does not work
hannesw
parents: 26377
diff changeset
    19
this.v: undefined
cf18a59c63d7 8075366: Slow scope access to global let/const does not work
hannesw
parents: 26377
diff changeset
    20
v: 2