swc/ecmascript/parser/tests/span/js/stmt/switch.js
2020-08-05 12:34:44 +09:00

11 lines
126 B
JavaScript

switch (foo()) {
case 1:
case 'a':
break;
case 3: break;
case 4: {
}
default:
foo()
}