Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mgaudet opened this issue Jan 18, 2021 · 1 comment

Comments

@mgaudet
Copy link
Contributor

mgaudet commented Jan 18, 2021

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants