Nullish coalescing operator (??)

Read More at MDN DocsView Spec

Safe to Use

Nullish coalescing operator (??) is considered safe to use.

It’s supported by 93% of global browsers.

Browsers

ChromeFeb 4, 2020v80.0.0
24%98%
There are no users of Chrome running a supported version.
SafariMar 24, 2020v13.1.0
3%97%
There are no users of Safari running a supported version.
EdgeFeb 7, 2020v80.0.0
4%100%
There are no users of Edge running a supported version.
FirefoxJan 7, 2020v72.0.0
3%97%
There are no users of Firefox running a supported version.

Servers

Node.jsApr 21, 2020v14.0.0
Node.js supports this feature.
DenoMay 4, 2020v1.0.0
Deno supports this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Feb 4, 2020 v80.0.0
24%98%
There are no users of Chrome running a supported version.
Feb 4, 2020 – Latest
v80.0.0+
24%98%

Full Support

Chrome Android
Feb 4, 2020 v80.0.0
38%99%
There are no users of Chrome Android running a supported version.
Feb 4, 2020 – Latest
v80.0.0+
38%99%

Full Support

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

Full Support

Edge
Feb 7, 2020 v80.0.0
4%100%
There are no users of Edge running a supported version.
Feb 7, 2020 – Latest
v80.0.0+
4%100%

Full Support

Firefox
Jan 7, 2020 v72.0.0
3%97%
There are no users of Firefox running a supported version.
Jan 7, 2020 – Latest
v72.0.0+
3%97%

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
Apr 21, 2020 v14.0.0
Node.js supports this feature.
Apr 21, 2020 – Latest
v14.0.0+

Full Support

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

Full Support

Opera
Mar 3, 2020 v67.0.0
1%76%
There are no users of Opera running a supported version.
Mar 3, 2020 – Latest
v67.0.0+
1%76%

Full Support

Opera Android
Mar 30, 2020 v57.0.0
Opera Android supports this feature.
Mar 30, 2020 – Latest
v57.0.0+

Full Support

Safari
Mar 24, 2020 v13.1.0
3%97%
There are no users of Safari running a supported version.
Mar 24, 2020 – Latest
v13.1.0+
3%97%

Full Support

Safari on iOS
Mar 24, 2020 v13.4.0
16%95%
There are no users of Safari on iOS running a supported version.
Mar 24, 2020 – Latest
v13.4.0+
16%95%

Full Support

Samsung Internet
Dec 2, 2020 v13.0.0
2%90%
There are no users of Samsung Internet running a supported version.
Dec 2, 2020 – Latest
v13.0.0+
2%90%

Full Support

WebView Android
Feb 4, 2020 v80.0.0
WebView Android supports this feature.
Feb 4, 2020 – Latest
v80.0.0+

Full Support

See Also

Contribute