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.

Browser support

  • Chrome 84 Released on 2020-07-27
  • Chrome Android 84 Released on 2020-07-27
  • Edge 84 Released on 2020-07-16
  • Firefox 79 Released on 2020-07-28
  • Firefox for Android 79 Released on 2020-07-28
  • Safari 14.1 Released on 2021-04-26
  • Safari on iOS 14.5 Released on 2021-04-26

Usage (according to Chrome Platform Status)

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