15 lines
284 B
TypeScript
15 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;
|
|
}
|