test/script/basic/es6/const-redeclare-extra.js.EXPECTED

changeset 995
33bde22b7740
child 997
5ad0607cf1a4
equal deleted inserted replaced
994:f5be4bdd0f6e 995:33bde22b7740
1 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@2:3:8 Variable "x" has already been declared
2 var x = {};
3 ^
4 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@4:2:8 Variable "x" has already been declared
5 var x = 2;
6 ^
7 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@4:2:13 Variable "x" has already been declared
8 function x () {}
9 ^

mercurial