MCPcopy Create free account
hub / github.com/microsoft/typescript-go / f

Function f

testdata/baselines/reference/submodule/compiler/cf.js:4–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3//// [cf.ts]
4function f() {
5 var z;
6 var x=10;
7 var y=3;
8
9 L1: for (var i=0;i<19;i++) {
10 if (y==7) {
11 continue L1;
12 x=11;
13 }
14 if (y==3) {
15 y++;
16 }
17 else {
18 y--;
19 }
20 do {
21 y+=2;
22 if (y==20) {
23 break;
24 x=12;
25 }
26 } while (y<41);
27 y++;
28 }
29 while (y>2) {
30 y=y>>1;
31 }
32 L2: try {
33 L3: if (x<y) {
34 break L2;
35 x=13;
36 }
37 else {
38 break L3;
39 x=14;
40 }
41 }
42 catch (e) {
43 x++;
44 }
45 finally {
46 x+=3;
47 }
48 y++;
49 for (var k=0;k<10;k++) {
50 z;
51 break;
52 }
53 for (k=0;k<10;k++) {
54 if (k==6) {
55 continue;
56 }
57 break;
58 }
59}
60
61

Calls

no outgoing calls

Tested by

no test coverage detected