WeakRef

Read More at MDN DocsView Spec

Safe to Use

WeakRef is considered safe to use.

It’s supported by 91% of global browsers.

Browsers

ChromeJul 27, 2020v84.0.0
24%97%
There are no users of Chrome running a supported version.
SafariApr 26, 2021v14.1.0
3%86%
There are no users of Safari running a supported version.
EdgeJul 16, 2020v84.0.0
4%100%
There are no users of Edge running a supported version.
FirefoxJul 28, 2020v79.0.0
3%95%
There are no users of Firefox running a supported version.

Servers

Node.jsJul 20, 2020v14.6.0
Node.js supports this feature.
DenoMay 4, 2020v1.0.0
Deno supports this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Jul 27, 2020 v84.0.0
24%97%
There are no users of Chrome running a supported version.
Jul 27, 2020 – Latest
v84.0.0+
24%97%

Full Support

Chrome Android
Jul 27, 2020 v84.0.0
38%98%
There are no users of Chrome Android running a supported version.
Jul 27, 2020 – Latest
v84.0.0+
38%98%

Full Support

Deno
May 4, 2020 v1.0.0
Deno supports this feature.
May 4, 2020 – Latest
v1.0.0+

Full Support

Edge
Jul 16, 2020 v84.0.0
4%100%
There are no users of Edge running a supported version.
Jul 16, 2020 – Latest
v84.0.0+
4%100%

Full Support

Firefox
Jul 28, 2020 v79.0.0
3%95%
There are no users of Firefox running a supported version.
Jul 28, 2020 – Latest
v79.0.0+
3%95%

Full Support

Firefox for Android
Jul 28, 2020 v79.0.0
Firefox for Android supports this feature.
Jul 28, 2020 – Latest
v79.0.0+

Full Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

Node.js
Jul 20, 2020 v14.6.0
Node.js supports this feature.
Jul 20, 2020 – Latest
v14.6.0+

Full Support

Oct 22, 2019 – Latest
v13.0.0+

This feature is behind the --harmony-weak-refs runtime_flag

 
Quest Browser
Unknown v11.0.0
Quest Browser supports this feature.
Unknown
v11.0.0+

Full Support

Opera
Jul 27, 2020 v70.0.0
1%75%
There are no users of Opera running a supported version.
Jul 27, 2020 – Latest
v70.0.0+
1%75%

Full Support

Opera Android
Sep 23, 2020 v60.0.0
Opera Android supports this feature.
Sep 23, 2020 – Latest
v60.0.0+

Full Support

Safari
Apr 26, 2021 v14.1.0
3%86%
There are no users of Safari running a supported version.
Apr 26, 2021 – Latest
v14.1.0+
3%86%

Full Support

Safari on iOS
Apr 26, 2021 v14.5.0
16%91%
There are no users of Safari on iOS running a supported version.
Apr 26, 2021 – Latest
v14.5.0+
16%91%

Full Support

Samsung Internet
Apr 17, 2021 v14.0.0
2%88%
There are no users of Samsung Internet running a supported version.
Apr 17, 2021 – Latest
v14.0.0+
2%88%

Full Support

WebView Android
Jul 27, 2020 v84.0.0
WebView Android supports this feature.
Jul 27, 2020 – Latest
v84.0.0+

Full Support

See Also

Contribute