Skip to content

Conversation

bnoordhuis
Copy link
Contributor

ta["-0"] = 42 is a thing and not just any thing but a decidedly weird thing: it completes successful, sets no property, but still evaluates the value for side effects.

`ta["-0"] = 42` is a thing and not just any thing but a decidedly weird
thing: it completes successful, sets no property, but still evaluates
the value for side effects.
Copy link
Contributor

@saghul saghul left a comment

Choose a reason for hiding this comment

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

🤯

@bnoordhuis bnoordhuis merged commit b51b510 into quickjs-ng:master Dec 14, 2023
@bnoordhuis bnoordhuis deleted the ta-neg-zero-index branch December 14, 2023 10:12
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