Skip to content

Conversation

bnoordhuis
Copy link
Contributor

a[42] = 1 where a is a detached typed array should not throw but Object.defineProperty() still should. Add a check and a flag that distinguishes between the two cases.

`a[42] = 1` where a is a detached typed array should not throw but
`Object.defineProperty()` still should. Add a check and a flag that
distinguishes between the two cases.
@bnoordhuis bnoordhuis merged commit 8baafc4 into quickjs-ng:master Dec 12, 2023
@bnoordhuis bnoordhuis deleted the detached-ta-prop-set branch December 12, 2023 22:14
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