Skip to content

Conversation

@bnoordhuis
Copy link
Contributor

Implement the new methods from https://github.com/tc39/proposal-upsert:

  • Map.prototype.getOrInsert
  • Map.prototype.getOrInsertComputed
  • WeakMap.prototype.getOrInsert
  • WeakMap.prototype.getOrInsertComputed

Implement the new methods from https://github.com/tc39/proposal-upsert:

- Map.prototype.getOrInsert
- Map.prototype.getOrInsertComputed
- WeakMap.prototype.getOrInsert
- WeakMap.prototype.getOrInsertComputed
@bnoordhuis bnoordhuis merged commit 4be4647 into quickjs-ng:master Sep 23, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the upsert branch September 23, 2025 16:54
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