mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-29 20:48:29 +00:00
13 lines
402 B
Plaintext
13 lines
402 B
Plaintext
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; }
|
|
^
|