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

Fix: #1929 (use loop instead of <array-a>.push(...<array-b>) #1931

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

christiantakle
Copy link
Contributor

Fix: #1929

Alternative to #1930 with a single commit for the change.

Prevent `Maximum call stack size exceeded` exception when
`<array-b>` is large.
@gcanti gcanti merged commit 693220a into gcanti:master Mar 25, 2024
1 check passed
@christiantakle christiantakle deleted the patch-3 branch March 25, 2024 18:01
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

Successfully merging this pull request may close these issues.

[ReadonlyArray.ts] flatten can trigger RangeError: Maximum call stack size exceeded
2 participants