This should work:
var TypedArray = Object.getPrototypeOf(Uint8Array)
var MyClass = class extends TypedArray {} // throws "TypeError: parent class must be constructor"
TypedArray is not expected to be instantiable (it's abstract) but it should be extendable. Upcoming test262 tests depend on that.
This should work:
TypedArrayis not expected to be instantiable (it's abstract) but it should be extendable. Upcoming test262 tests depend on that.