Skip to content

Make TypedArray.prototype.includes conform to spec#1068

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix-ta-includes
May 25, 2025
Merged

Make TypedArray.prototype.includes conform to spec#1068
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix-ta-includes

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

In the case of typed arrays backed by resizable arraybuffers, searching for undefined matches if the search index is in bounds with respect to the typed array's original length.

In the case of typed arrays backed by resizable arraybuffers, searching
for `undefined` matches if the search index is in bounds with respect to
the typed array's original length.
@bnoordhuis bnoordhuis closed this May 24, 2025
@bnoordhuis bnoordhuis deleted the fix-ta-includes branch May 24, 2025 20:43
@bnoordhuis bnoordhuis restored the fix-ta-includes branch May 24, 2025 20:43
@bnoordhuis
Copy link
Copy Markdown
Contributor Author

bnoordhuis commented May 24, 2025

Weird, GH thinks I closed the PR even though I only force-pushed to my branch. I'll open a new PR. - edit: now it lets me reopen it. Double weird.

@bnoordhuis bnoordhuis reopened this May 24, 2025
@bnoordhuis bnoordhuis merged commit 08ed246 into quickjs-ng:master May 25, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the fix-ta-includes branch May 25, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants