reworked weak references so that cycles are (hopefully) correctly handled - added Symbol as WeakMap key, WeakRef and FinalizationRegistry

This commit is contained in:
Fabrice Bellard
2025-04-05 12:49:29 +02:00
parent bf164d640f
commit 8b5b1277ad
7 changed files with 550 additions and 121 deletions

View File

@@ -258,10 +258,6 @@ The following features are not supported yet:
@item Tail calls@footnote{We believe the current specification of tails calls is too complicated and presents limited practical interests.}
@item WeakRef and FinalizationRegistry objects
@item Symbols as WeakMap keys
@end itemize
@subsection ECMA402