Intent to prototype: Symbols as WeakMap keys (ECMA 262)

60 views
Skip to first unread message

Yoshi Cheng-Hao Huang

unread,
Sep 27, 2023, 9:30:15 AM9/27/23
to dev-pl...@mozilla.org
Summary:
This proposal allows Symbols can be used as keys in WeakMap/WeakSet, and as the target in WeakRef/FinalizationRegistry

Bug:

Standards body:

This proposal has been merged into ecma262

Platform coverage:
All

Preference:
N/A yet

Other browsers:
Chrome has shipped this since 108 behind the flag "--harmony-symbol-as-weakmap-key"
and has been enabled by default since April 2023

Safari has shipped this since 16.4

web-platform-tests:
Tests are located in in test262/


Reply all
Reply to author
Forward
0 new messages