summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/fields/bug1664550.js
blob: 8c6e98b5e07cc20e070646c5f271fe794aa3ed84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |jit-test| --enable-private-methods;

class OverrideBase {
  constructor(o30) {
    return o30;
  }
};

class A3 extends OverrideBase {
  get #m() {}
}

var obj = {};
Object.seal(obj);
new A3(obj);