]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | class A { | |
3 | constructor() { } | |
4 | } | |
5 | ||
6 | class B extends A { | |
7 | constructor() { | |
8 | var values = []; | |
9 | for (var j = 0; j < 100; j++) { | |
10 | if (j == 1) | |
11 | super(); | |
12 | else if (j > 2) | |
13 | this; | |
14 | else | |
15 | values.push(i); | |
16 | } | |
17 | } | |
18 | } | |
19 | ||
20 | noInline(B); | |
21 | ||
22 | for (var i = 0; i < 10000; ++i) | |
23 | new B(); |