You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Base.prototype still has a constructor property, it's just non-enumerable (see §13.2 step 17). We can't define a non-enumerable constructor property on the subclass's prototype in our target of least-common-denominator (IE6) JS. Marking as wontfix and frozen, since we could theoretically fix this one day if we target ES5. Thanks for the bug report, though.
Iterating over a class does not enumerate "constructor", which I would expect.
There's no output, as expected. But when I extend the class, the constructor shows up in enumeration.
Output is "constructor"
I'm assuming this isn't desired behavior, but I'm not sure of a workaround or fix at this point.
The text was updated successfully, but these errors were encountered: