Debian Codegraph @

js/src/jit-test/tests/class/relazify-constructor.js

raw
1 class WithConstructor {
2 constructor() {}
3 }
4
5 class DefaultConstructor {
6 }
7
8 class WithConstructorDerived extends DefaultConstructor {
9 constructor() {
10 super()
11 }
12 }
13
14 class DefaultConstructorDerived extends DefaultConstructor {
15 }
16
17 relazifyFunctions();
18
19 let a = new WithConstructor;
20 let b = new DefaultConstructor;
21 let c = new WithConstructorDerived;
22 let d = new DefaultConstructorDerived;