Skip to content

Return false instead of error with undefined receiver in Reflect.set - #1734

Merged
saghul merged 2 commits into
quickjs-ng:masterfrom
sr5434:js-set-property
Oct 6, 2026
Merged

saghul merged 2 commits into
quickjs-ng:masterfrom
sr5434:js-set-property

Conversation

@sr5434

@sr5434 sr5434 commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #1730 and adds a few regression tests.

Comment thread quickjs.c Resolved
@sr5434
sr5434 requested a review from saghul October 6, 2026 11:36
@saghul
saghul merged commit 970500f into quickjs-ng:master Oct 6, 2026
128 checks passed
@sr5434
sr5434 deleted the js-set-property branch October 6, 2026 17:50
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.

Reflect.set throws when the receiver is null or undefined

2 participants