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

New motivation #296

Open
lilnasy opened this issue May 19, 2023 · 0 comments
Open

New motivation #296

lilnasy opened this issue May 19, 2023 · 0 comments

Comments

@lilnasy
Copy link

lilnasy commented May 19, 2023

After an early implementation of it broke websites, the proposal for array grouping is switching from Array.prototype.group (instance method) to Array.group (static method). The sentiment expressed by implementers is that they don't want to keep extending prototypes, and hoping it doesn't break the web.

This signals that method chaining will become less and less viable over the next decade. It might be worth it to add this to the explainer as a motivation once grouping reaches stage 3 again.

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

1 participant