Files
tsgo/testdata/baselines/reference/submodule/compiler/breakNotInIterationOrSwitchStatement2.js

17 lines
304 B
TypeScript

//// [tests/cases/compiler/breakNotInIterationOrSwitchStatement2.ts] ////
//// [breakNotInIterationOrSwitchStatement2.ts]
while (true) {
function f() {
break;
}
}
//// [breakNotInIterationOrSwitchStatement2.js]
"use strict";
while (true) {
function f() {
break;
}
}