Skip to content

Adds <Weak>Map.prototype.getOrInsert<Computed>#135

Open
mhassan1 wants to merge 2 commits intomainfrom
getorinsert
Open

Adds <Weak>Map.prototype.getOrInsert<Computed>#135
mhassan1 wants to merge 2 commits intomainfrom
getorinsert

Conversation

@mhassan1
Copy link
Collaborator

This PR adds the following ES2026 polyfills:

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

@mhassan1 mhassan1 requested a review from romainmenke February 1, 2026 14:05
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.

1 participant