Skip to content

Editorial: TypedArrayCreateSameType take length as parameter #3570

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aapoalas
Copy link

@aapoalas aapoalas commented Apr 20, 2025

This method is only called with an explicit length but because it can theoretically take any arguments list, the call to TypedArray construction could trigger user code: this is not really possible in the current spec.

@ljharb ljharb changed the title feat: TypedArrayCreateSameType take length as parameter Editorial: TypedArrayCreateSameType take length as parameter Apr 21, 2025
Copy link
Contributor

@bakkot bakkot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm other than comment (which we can address when landing if you don't get to it)

@aapoalas
Copy link
Author

lgtm other than comment (which we can address when landing if you don't get to it)

Sorry this took a while, merged the comment. Thanks! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants