test/script/basic/es6/let_const_reuse.js.EXPECTED

Fri, 31 Oct 2014 20:19:49 +0100

author
hannesw
date
Fri, 31 Oct 2014 20:19:49 +0100
changeset 1076
73ca7a752ba1
parent 997
5ad0607cf1a4
child 1243
2b51c0b3f463
permissions
-rw-r--r--

8062583: Throwing object with error prototype causes error proto to be caught
Reviewed-by: sundar, jlaskey

yan@995 1 ReferenceError: "a" is not defined
attila@997 2 SyntaxError: test/script/basic/es6/let_const_reuse.js#35:9<eval>:3:8 Assignment to constant "a"
yan@995 3 a--
yan@995 4 ^
attila@997 5 SyntaxError: test/script/basic/es6/let_const_reuse.js#35:9<eval>:3:8 Assignment to constant "a"
yan@995 6 a--
yan@995 7 ^
yan@995 8 ReferenceError: "a" is not defined

mercurial