Skip to content

Commit

Permalink
Normative: Permit Symbols as WeakMap keys (tc39#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 tc39#1194

Co-authored-by: Ashley Claymore <aclaymore@bloomberg.net>
Co-authored-by: Daniel Ehrenberg <dehrenberg@bloomberg.net>
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
Co-authored-by: Mathieu Hofman <86499+mhofman@users.noreply.github.com>
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Shu-yu Guo <syg@chromium.org>
Co-authored-by: Michael Dyck <jmdyck@ibiblio.org>
Co-authored-by: Michael Ficarra <mficarra@shapesecurity.com>
  • 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.