Skip to content

Conversation

@yjhmelody
Copy link
Contributor

I think the current description of capacity and length is not be equivalent, and the implementation here is length

@yjhmelody
Copy link
Contributor Author

The description on the website may also need to be updated

@MaxGraey MaxGraey changed the title fix: new Array(length) rather than new Array(capacity) docs: change "capacity" to "length" for argument in Array's constructor Apr 20, 2021
@MaxGraey MaxGraey merged commit c1b992b into AssemblyScript:master Apr 20, 2021
@MaxGraey
Copy link
Member

Thanks!

@yjhmelody yjhmelody deleted the new-array-length branch April 20, 2021 08:27
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.

2 participants