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

remove js polyfill for Array.from #17

Closed
ivanitskiy opened this issue Jul 7, 2023 · 1 comment
Closed

remove js polyfill for Array.from #17

ivanitskiy opened this issue Jul 7, 2023 · 1 comment
Assignees

Comments

@ivanitskiy
Copy link
Contributor

Describe the bug

NJS version 0.8.0 added native implementation for Array.from:
https://mailman.nginx.org/pipermail/nginx-announce/2023/A3O7JLCSI6DYGIYQA4XCXLJEUW2EGIHS.html

     *) Feature: added Array.from(), Array.prototype.toSorted(),
         Array.prototype.toSpliced(), Array.prototype.toReversed().

Now we can remove:
https://github.com/nginxinc/njs-acme/blob/274755f50c2ae86a6fed4fd17b359e6f30d02faa/src/arrayFrom.js#L1

Your environment

  • Version/release of this project or specific commit
  • Target deployment platform

Additional context

Add any other context about the problem here.

@ivanitskiy
Copy link
Contributor Author

resolved in #21

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