tc39 / proposal-rm-builtin-subclassing

Remove ES6 built-in subclassing
31 stars 5 forks source link

Should Type IV subclassing restrictions also apply to non-RegExp classes? #18

Open mgaudet opened 3 years ago

mgaudet commented 3 years ago

The explainer exclusively talks about Type IV subclassing in the context of RegExp. Are the examples of non-RegExp uses of Type IV subclassing? How will the restrictions be applied there?

Trying to find some myself, I wonder about Array.prototype.toString(), which does Get(array, "join"); does that qualify?

dead-claudia commented 3 years ago

Pretty sure that's implied if I understand the proposal correctly.