TypeError: super: no constructor
when prototype.constructor
deleted
#727
Labels
confirmed
issue reported has been reproduced
fixed - please verify
Issue has been fixed. Please verify and close.
Build environment: Linux
Target device: XS Test Engine
Description
When removing the
constructor
property from the prototype of a derived class, XS can no longer construct instances of that class.Steps to Reproduce
Expected behavior
No error
What happened
Other information
I'm not sure if a test262 exists for this, but I've verified v8, SM and JSC allow this, and AFAIK this is permitted by the spec.
The text was updated successfully, but these errors were encountered: