Weak references enable JavaScript developers to create weak references to JavaScript objects. Weak references and finalizers help web developers define cleanup routines that don't keep the related objects alive but are (optionally) executed after the related object is garbage-collected.
Docs: https://v8.dev/features/weak-references
Samples: https://v8.dev/features/weak-references
Explainers: https://v8.dev/features/weak-references