swc/crates/swc_ecma_parser/tests/tsc/whileContinueStatements.ts

53 lines
547 B
TypeScript
Raw Normal View History

while(true) {
continue;
}
while (true) {
if (true) {
continue;
}
}
ONE:
while (true) {
continue ONE;
}
TWO:
THREE:
while (true) {
continue THREE;
}
FOUR:
while (true) {
FIVE:
while (true) {
continue FOUR;
}
}
while (true) {
SIX:
while (true)
continue SIX;
}
SEVEN:
while (true)
while (true)
while (true)
continue SEVEN;
EIGHT:
while (true) {
var fn = function () { }
continue EIGHT;
}
NINE:
while (true) {
if (true) { continue NINE; }
}