This may be a small bit nicer:
```js
class A {}
function B() {
return Reflect.construct(A, arguments, B)
}
Reflect.setPrototypeOf(B.prototype, A.prototype)
Reflect.setPrototypeOf(B, A)
```
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

