Stage 2 proposal for public class fields in ECMAScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 05b6650 Jun 8, 2017

README.md

NOTE: This proposal has been merged with the Private Fields proposal to form a single unified proposal here.

Please do not create new issues/PRs on this repo.

ES Class Fields & Static Properties

This presents two related proposals: "class instance fields" and "class static fields". "Class instance fields" describe properties intended to exist on instances of a class (and may optionally include initializer expressions for said properties). "Class static fields" are declarative properties that exist on the class object itself (and may optionally include initializer expressions for said properties).

This proposal is currently at Stage 2.

Latest spec text: https://tc39.github.io/proposal-class-public-fields/