Just in case, the above snippet is the following:
```
class A {
#opts = {
a: 1
}
constructor(opts = {}) {
this.opts = {
...this.#opts,
...opts
}
}
}
class B extends A {
#opts = {
b: 2
}
constructor(opts = {}) {
super(opts);
this.opts = {
...this.opts,
...this.#opts,
...opts
}
}
}
console.clear();
const b = new B();
const c = new B({ b: 3 });
console.log(b.opts);
console.log(c.opts);
```