-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Is there a need of polyfills now for es5 Array methods #10072
Comments
It's a good question. As you might know we have a proposed project to sort out polyfills on MDN, that didn't get prioritised in this quarter but which I do expect we will get to in 2022 (openwebdocs/project#27). As part of that @teoli2003 started a discussion about when we should have any polyfills at all: https://github.com/mdn/content/discussions/7841 and by his proposed criteria we should remove them at least for the 5 pages you've listed here, which are all supported from IE9. So I'd say: yes, we can remove these. I'll drop a link to this issue in the discussion. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
However, I agree that naive polyfills posted directly on MDN that do not cover modern cases and sometimes even are harmful should be removed. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Related to mdn#10072 and #7841
What information was incorrect, unhelpful, or incomplete?
I think the polyfill isn't necessary now as es5 supported by most of the browsers now.
If it is to be removed then I'd like to work on it.
Some other pages that have the polyfills :
Array.some()
Array.map()
Array.lastIndexOf()
Array.every()
Array.reduceRight()
The text was updated successfully, but these errors were encountered: