jdk-24/test/nashorn/script/basic/es6/const-redeclare-extra.js.EXPECTED
2017-09-12 19:03:39 +02:00

10 lines
429 B
Plaintext

SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:3:8 Variable "x" has already been declared
var x = {};
^
SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:3:10 Variable "x" has already been declared
const x = {};
^
SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>:3:10 Variable "x" has already been declared
const x = 5;
^