16 lines
284 B
TypeScript
16 lines
284 B
TypeScript
|
//// [invalidSwitchContinueStatement.ts]
|
||
|
// continue is not allowed in a switch statement
|
||
|
|
||
|
switch (12) {
|
||
|
case 5:
|
||
|
continue;
|
||
|
}
|
||
|
|
||
|
|
||
|
//// [invalidSwitchContinueStatement.js]
|
||
|
// continue is not allowed in a switch statement
|
||
|
switch (12) {
|
||
|
case 5:
|
||
|
continue;
|
||
|
}
|