1 1 2 2 3 0 4 1 5 2 6 0 7 SyntaxError: test/nashorn/script/basic/es6/let-const-switch.js#34:8<eval>:1:21 Unsupported let declaration in unprotected switch statement 8 switch (x) { case 0: let x = 1; } 9 ^ 10 SyntaxError: test/nashorn/script/basic/es6/let-const-switch.js#34:8<eval>:1:21 Unsupported const declaration in unprotected switch statement 11 switch (x) { case 0: const x = 1; } 12 ^