Web platform features explorer

Weak references

Widely available since 2023-10-26
Tags: javascript Groups: JavaScript

The WeakRef and FinalizationRegistry objects hold references to garbage-collectable objects without creating strong references that prevent their garbage collection.

Learning resources on MDN

Browser support

Usage (according to Chrome Platform Status)

~12.165% of page loads. More data at chromestatus.