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 call stack size exceeded error #21

Merged
merged 4 commits into from
Sep 10, 2024
Merged

Conversation

ryohey
Copy link
Owner

@ryohey ryohey commented Sep 10, 2024

Use for-loop based max() function instead of Math.max() with spread operator to avoid call stack size exceeded error.
related: https://stackoverflow.com/questions/63705432/maximum-call-stack-size-exceeded-when-using-the-dots-operator

@ryohey ryohey merged commit 352d3f6 into main Sep 10, 2024
1 check passed
@ryohey ryohey deleted the fix-call-stack-size-exceeded-error branch September 10, 2024 00: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

Successfully merging this pull request may close these issues.

1 participant