Skip to content

Commit

Permalink
Normative: Permit Symbols as WeakMap keys
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 AO 'CanBeHeldWeakly'
- Registered Symbols can not be held weakly

Closes tc39#1194

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 16, 2023
1 parent c26d105 commit 237675d
Showing 1 changed file with 101 additions and 55 deletions.
Loading

0 comments on commit 237675d

Please sign in to comment.