Skip to content

Conversation

@AfterThreeYears
Copy link

When n is negative,

new Array (n) 

throws an error. RangeError: Invalid array length

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