This feature introduces public fields to classes in ECMAScript. class MyClass { instanceProperty = 0; static staticProperty = 0; }

Documentation

Specification

Specification link


Specification being incubated in a Community Group

Status in Chromium

Blink>JavaScript>Language


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Search tags

javascript, class fields, class, fields, private, public,

Last updated on 2020-11-09