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

Preserve better browser compatibility by replacing Array.prototype.at #105

Closed
1 task
87xie opened this issue May 22, 2024 · 1 comment
Closed
1 task

Comments

@87xie
Copy link

87xie commented May 22, 2024

Describe the feature

I noticed the pull request unjs/destr#102 in the destr repository, which replaces the String.prototype.at to improve browser compatibility. Since Array.prototype.at is used in radix3 and its support is similar to String.prototype.at, should we replace sections.at(-1) with sections[sections.length - 1] ?

related information links

Additional information

  • Would you be willing to help implement this feature?
@pi0
Copy link
Member

pi0 commented Jul 4, 2024

Next version (rou3) is currently not using .at at least

@pi0 pi0 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2024
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