*Summary:*
This proposal allows Symbols can be used as keys in WeakMap/WeakSet, and as
the target in WeakRef/FinalizationRegistry

*Bug:*
https://bugzilla.mozilla.org/show_bug.cgi?id=1828144

*Standards body:*
https://tc39.es/proposal-symbols-as-weakmap-keys/

This proposal has been merged into ecma262
https://tc39.es/ecma262/multipage/executable-code-and-execution-contexts.html#sec-canbeheldweakly

*Platform coverage:*
All

*Preference:*
N/A yet

*Other browsers:*
Chrome has shipped this since 108 behind the flag
"--harmony-symbol-as-weakmap-key"
https://groups.google.com/a/chromium.org/g/blink-dev/c/E6pDZP_TiBA/m/ZcXLwiz8AAAJ
and has been enabled by default since April 2023
https://chromium.googlesource.com/v8/v8/+/71ff68830279b7ad6719db066b21f0489e871596

Safari has shipped this since 16.4
https://developer.apple.com/documentation/safari-release-notes/safari-16_4-release-notes

*web-platform-tests:*
Tests are located in in test262/
https://github.com/tc39/test262/pull/3678

-- 
You received this message because you are subscribed to the Google Groups 
"dev-platform@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-platform+unsubscr...@mozilla.org.
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAJ5FAhV0EyzRBCLoKYwQHLTeu3T3CJCrn6waCnboF695m_h9Vw%40mail.gmail.com.

Reply via email to