class expression

Read More at MDN DocsView Spec

Safe to Use

class expression is considered safe to use.

It’s supported by 94% of global browsers.

Browsers

ChromeApr 14, 2015v42.0.0
26%100%
There are no users of Chrome running a supported version.
SafariOct 22, 2013v7.0.0
5%100%
100% of Safari users are running a supported version.
EdgeNov 12, 2015v13.0.0
5%100%
100% of Edge users are running a supported version.
FirefoxMar 8, 2016v45.0.0
3%100%
100% of Firefox users are running a supported version.

Servers

Node.jsApr 26, 2016v6.0.0
Node.js supports this feature.
DenoMay 4, 2020v1.0.0
Deno supports this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Apr 14, 2015 v42.0.0
26%100%
There are no users of Chrome running a supported version.
Apr 14, 2015 – Latest
v42.0.0+
26%100%

Full Support

Chrome Android
Apr 15, 2015 v42.0.0
36%100%
100% of Chrome Android users are running a supported version.
Apr 15, 2015 – Latest
v42.0.0+
36%100%

Full Support

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

Full Support

Edge
Nov 12, 2015 v13.0.0
5%100%
100% of Edge users are running a supported version.
Nov 12, 2015 – Latest
v13.0.0+
5%100%

Full Support

Firefox
Mar 8, 2016 v45.0.0
3%100%
100% of Firefox users are running a supported version.
Mar 8, 2016 – Latest
v45.0.0+
3%100%

Full Support

Firefox for Android
Mar 8, 2016 v45.0.0
Firefox for Android supports this feature.
Mar 8, 2016 – Latest
v45.0.0+

Full Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

Node.js
Apr 26, 2016 v6.0.0
Node.js supports this feature.
Apr 26, 2016 – Latest
v6.0.0+

Full Support

Oct 29, 2015 – Latest
v5.0.0+

This feature is behind the --harmony runtime_flag

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

Full Support

Opera
Apr 28, 2015 v29.0.0
1%100%
100% of Opera users are running a supported version.
Apr 28, 2015 – Latest
v29.0.0+
1%100%

Full Support

Opera Android
Apr 28, 2015 v29.0.0
Opera Android supports this feature.
Apr 28, 2015 – Latest
v29.0.0+

Full Support

Safari
Oct 22, 2013 v7.0.0
5%100%
100% of Safari users are running a supported version.
Oct 22, 2013 – Latest
v7.0.0+
5%100%

Full Support

Safari on iOS
Sep 18, 2013 v7.0.0
17%100%
There are no users of Safari on iOS running a supported version.
Sep 18, 2013 – Latest
v7.0.0+
17%100%

Full Support

Samsung Internet
Mar 11, 2016 v4.0.0
2%96%
There are no users of Samsung Internet running a supported version.
Mar 11, 2016 – Latest
v4.0.0+
2%96%

Full Support

WebView Android
Apr 15, 2015 v42.0.0
WebView Android supports this feature.
Apr 15, 2015 – Latest
v42.0.0+

Full Support

See Also

Contribute