nashorn/test/script/basic/es6/for-let.js.EXPECTED
author hannesw
Thu, 27 Nov 2014 16:42:53 +0100
changeset 27817 56f6161c3e55
parent 26377 028dad61662f
permissions -rw-r--r--
8057980: let & const: remaining issues with lexical scoping Reviewed-by: lagergren, attila
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
0
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     2
1
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     3
2
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     4
3
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     5
4
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     6
5
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     7
6
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     8
7
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
     9
8
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    10
9
028dad61662f 8051889: Implement block scoping in symbol assignment and scope computation
hannesw
parents:
diff changeset
    11
ReferenceError: "i" is not defined
27817
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    12
0
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    13
1
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    14
2
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    15
3
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    16
4
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    17
5
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    18
6
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    19
7
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    20
8
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    21
9
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    22
0
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    23
1
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    24
2
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    25
3
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    26
4
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    27
foo
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    28
ReferenceError: "i" is not defined
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    29
0
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    30
4
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    31
8
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    32
12
56f6161c3e55 8057980: let & const: remaining issues with lexical scoping
hannesw
parents: 26377
diff changeset
    33
16