Skip to content

Commit

Permalink
Normative: Permit Symbols as WeakMap keys (#2777)
Browse files Browse the repository at this point in the history
- Proposal: https://github.com/tc39/proposal-symbols-as-weakmap-keys
- Also allows Symbols in WeakSet, WeakRef, and FinalizationRegistry
- Adds new AOs `CanBeHeldWeakly`, `KeyForSymbol`
- Registered Symbols can not be held weakly

Closes #1194

Co-authored-by: Ashley Claymore <[email protected]>
Co-authored-by: Daniel Ehrenberg <[email protected]>
Co-authored-by: Leo Balter <[email protected]>
Co-authored-by: Mathieu Hofman <[email protected]>
Co-authored-by: Richard Gibson <[email protected]>
Co-authored-by: Jordan Harband <[email protected]>
Co-authored-by: Shu-yu Guo <[email protected]>
Co-authored-by: Michael Dyck <[email protected]>
Co-authored-by: Michael Ficarra <[email protected]>
  • Loading branch information
9 people committed Mar 18, 2023
1 parent 5658a65 commit 6e70bb6
Showing 1 changed file with 88 additions and 49 deletions.
Loading

0 comments on commit 6e70bb6

Please sign in to comment.