Skip to content

Update Array.push to note limitation of spread syntax based on functo…#1

Merged
solsword merged 1 commit intomainfrom
solsword-push-spread-limitations
Apr 17, 2026
Merged

Update Array.push to note limitation of spread syntax based on functo…#1
solsword merged 1 commit intomainfrom
solsword-push-spread-limitations

Conversation

@solsword
Copy link
Copy Markdown
Owner

…in call arguments limit

Array.push mentions using spread syntax to effectively concatenate arrays, but does not note the key limitation that this only works if the array being concatenated has fewer elements than the limit on function call arguments. I've added a note about that to the relevant section.

Description

Motivation

Additional details

Related issues and pull requests

…in call arguments limit

Array.push mentions using spread syntax to effectively concatenate arrays, but does not note the key limitation that this only works if the array being concatenated has fewer elements than the limit on function call arguments. I've added a note about that to the relevant section.
@solsword solsword merged commit a357597 into main Apr 17, 2026
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