nashorn/test/script/basic/es6/let_const_reuse.js.EXPECTED
author hannesw
Fri, 27 Feb 2015 14:33:47 +0100
changeset 29281 8cc2618a07aa
parent 26504 ed05e2f4c2db
permissions -rw-r--r--
8073707: const re-assignment should not reported as a early error Reviewed-by: sundar, attila
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
29281
8cc2618a07aa 8073707: const re-assignment should not reported as a early error
hannesw
parents: 26504
diff changeset
     2
TypeError: Assignment to constant "a"
8cc2618a07aa 8073707: const re-assignment should not reported as a early error
hannesw
parents: 26504
diff changeset
     3
TypeError: Assignment to constant "a"
26502
71d3891037bb 8057678: Tests for let and const keywords in Nashorn
yan
parents:
diff changeset
     4
ReferenceError: "a" is not defined