nashorn/test/script/basic/es6/let_const_reuse.js.EXPECTED
author attila
Tue, 09 Sep 2014 15:33:58 +0200
changeset 26504 ed05e2f4c2db
parent 26502 71d3891037bb
child 29281 8cc2618a07aa
permissions -rw-r--r--
8057930: remove eval ID Reviewed-by: hannesw, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26502
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     1
ReferenceError: "a" is not defined
26504
ed05e2f4c2db 8057930: remove eval ID
attila
parents: 26502
diff changeset
     2
SyntaxError: test/script/basic/es6/let_const_reuse.js#35:9<eval>:3:8 Assignment to constant "a"
26502
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     3
        a--
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     4
        ^
26504
ed05e2f4c2db 8057930: remove eval ID
attila
parents: 26502
diff changeset
     5
SyntaxError: test/script/basic/es6/let_const_reuse.js#35:9<eval>:3:8 Assignment to constant "a"
26502
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     6
        a--
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     7
        ^
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     8
ReferenceError: "a" is not defined