All Projects → tc39 → Proposal Class Public Fields

tc39 / Proposal Class Public Fields

Stage 2 proposal for public class fields in ECMAScript

Labels

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/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].