2014-09-09 15:33:58 +02:00
|
|
|
SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>:2:8 Variable "x" has already been declared
|
2014-09-08 15:37:50 +04:00
|
|
|
let x = 2;
|
|
|
|
^
|
2014-09-09 15:33:58 +02:00
|
|
|
SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>:3:8 Variable "x" has already been declared
|
2014-09-08 15:37:50 +04:00
|
|
|
var x = 2;
|
|
|
|
^
|
2014-11-21 17:44:57 +01:00
|
|
|
SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>:3:8 Variable "x" has already been declared
|
|
|
|
let x = undefined;
|
2014-09-08 15:37:50 +04:00
|
|
|
^
|
2014-09-09 15:33:58 +02:00
|
|
|
SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>:2:10 Variable "x" has already been declared
|
2014-09-08 15:37:50 +04:00
|
|
|
const x = function (){};
|
|
|
|
^
|
2014-11-21 17:44:57 +01:00
|
|
|
SyntaxError: test/script/basic/es6/let-redeclare-extra.js#35:8<eval>:2:8 Variable "a" has already been declared
|
|
|
|
let a = 2;
|
|
|
|
^
|