72 lines
903 B
TypeScript
72 lines
903 B
TypeScript
//// [whileBreakStatements.ts]
|
|
|
|
while(true) {
|
|
break;
|
|
}
|
|
|
|
ONE:
|
|
|
|
while (true) {
|
|
break ONE;
|
|
}
|
|
|
|
TWO:
|
|
THREE:
|
|
while (true) {
|
|
break THREE;
|
|
}
|
|
|
|
FOUR:
|
|
while (true) {
|
|
FIVE:
|
|
while (true) {
|
|
break FOUR;
|
|
}
|
|
}
|
|
|
|
while (true) {
|
|
SIX:
|
|
while (true)
|
|
break SIX;
|
|
}
|
|
|
|
SEVEN:
|
|
while (true)
|
|
while (true)
|
|
while (true)
|
|
break SEVEN;
|
|
|
|
EIGHT:
|
|
while (true) {
|
|
var fn = function () { }
|
|
break EIGHT;
|
|
}
|
|
|
|
|
|
//// [whileBreakStatements.js]
|
|
while (true) {
|
|
break;
|
|
}
|
|
ONE: while (true) {
|
|
break ONE;
|
|
}
|
|
TWO: THREE: while (true) {
|
|
break THREE;
|
|
}
|
|
FOUR: while (true) {
|
|
FIVE: while (true) {
|
|
break FOUR;
|
|
}
|
|
}
|
|
while (true) {
|
|
SIX: while (true)
|
|
break SIX;
|
|
}
|
|
SEVEN: while (true)
|
|
while (true)
|
|
while (true)
|
|
break SEVEN;
|
|
EIGHT: while (true) {
|
|
var fn = function () { };
|
|
break EIGHT;
|
|
}
|