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

docs: change "capacity" to "length" for argument in Array's constructor #1816

Merged
merged 1 commit into from
Apr 20, 2021

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.

None yet

2 participants