Classes

Read More at MDN DocsView Spec

Safe to Use

Classes is considered safe to use.

It’s supported by 94% of global browsers.

Browsers

ChromeMar 2, 2016v49.0.0
26%100%
There are no users of Chrome running a supported version.
SafariSep 30, 2015v9.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
Mar 2, 2016 v49.0.0
26%100%
There are no users of Chrome running a supported version.
Mar 2, 2016 – Latest
v49.0.0+
26%100%

Full Support

Mar 2, 2016 – Latest
v49.0.0+

No Support, Feature Removed

Apr 14, 2015 – Mar 2, 2016
v42.0.0 – v49.0.0
0%0%

Full Support

Strict mode is required.

Chrome Android
Mar 9, 2016 v49.0.0
36%100%
100% of Chrome Android users are running a supported version.
Mar 9, 2016 – Latest
v49.0.0+
36%100%

Full Support

Mar 9, 2016 – Latest
v49.0.0+

No Support, Feature Removed

Apr 15, 2015 – Mar 9, 2016
v42.0.0 – v49.0.0

Full Support

Strict mode is required.

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

Sep 8, 2015 – Latest
v4.0.0+

This feature is behind the --use_strict runtime_flag

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

Full Support

Opera
Mar 15, 2016 v36.0.0
1%100%
100% of Opera users are running a supported version.
Mar 15, 2016 – Latest
v36.0.0+
1%100%

Full Support

Mar 15, 2016 – Latest
v36.0.0+

No Support, Feature Removed

Apr 28, 2015 – Mar 15, 2016
v29.0.0 – v36.0.0

Full Support

Strict mode is required.

Opera Android
Mar 31, 2016 v36.0.0
Opera Android supports this feature.
Mar 31, 2016 – Latest
v36.0.0+

Full Support

Mar 31, 2016 – Latest
v36.0.0+

No Support, Feature Removed

Apr 28, 2015 – Mar 31, 2016
v29.0.0 – v36.0.0

Full Support

Strict mode is required.

Safari
Sep 30, 2015 v9.0.0
5%100%
100% of Safari users are running a supported version.
Sep 30, 2015 – Latest
v9.0.0+
5%100%

Full Support

Safari on iOS
Sep 16, 2015 v9.0.0
16%100%
There are no users of Safari on iOS running a supported version.
Sep 16, 2015 – Latest
v9.0.0+
16%100%

Full Support

Samsung Internet
Dec 15, 2016 v5.0.0
2%95%
There are no users of Samsung Internet running a supported version.
Dec 15, 2016 – Latest
v5.0.0+
2%95%

Full Support

Dec 15, 2016 – Latest
v5.0.0+

No Support, Feature Removed

Mar 11, 2016 – Dec 15, 2016
v4.0.0 – v5.0.0
0%1%

Full Support

Strict mode is required.

WebView Android
Mar 9, 2016 v49.0.0
WebView Android supports this feature.
Mar 9, 2016 – Latest
v49.0.0+

Full Support

Mar 9, 2016 – Latest
v49.0.0+

No Support, Feature Removed

Apr 15, 2015 – Mar 9, 2016
v42.0.0 – v49.0.0

Full Support

Strict mode is required.

See Also

Contribute