Reuse native methods in array internal modules when possible
Author: johnzhou721Created Mar 19, 2026Updated Mar 19, 2026
See #1525 — there's lots of more internals modules with the same issues.
First we should check that they're generic and have no browser bugs, then we should add [].{ method } || to the export entries in these array-* modules.
I'm tracking this issue as I've found there's lots of more functions with the same moments, but I don't personally have the time to audit each of them.
We'll see, maybe I'll be able to make a PR.
Source: zloirock/core-js