summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1872842.js
blob: 6884a2bd3792ca5fcbfcbf08c21f33d687022613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class C {
  constructor() {
    this.c;
  }
  get c() {
    new this.constructor();
    for (let i = 0; i < 5; i++) {}
  }
}
try {
  new C();
} catch {}