mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
12 lines
402 B
Text
12 lines
402 B
Text
1
|
|
2
|
|
0
|
|
1
|
|
2
|
|
0
|
|
SyntaxError: test/script/basic/es6/let-const-switch.js#34:8<eval>:1:25 Unsupported let declaration in unprotected switch statement
|
|
switch (x) { case 0: let x = 1; }
|
|
^
|
|
SyntaxError: test/script/basic/es6/let-const-switch.js#34:8<eval>:1:27 Unsupported const declaration in unprotected switch statement
|
|
switch (x) { case 0: const x = 1; }
|
|
^
|