Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/tc39/proposal-class-public-fields

Stage 2 proposal for public class fields in ECMAScript
https://github.com/tc39/proposal-class-public-fields

Last synced: about 1 month ago
JSON representation

Stage 2 proposal for public class fields in ECMAScript

Lists

README

        

# NOTE: This proposal has been merged with the [Private Fields proposal](https://github.com/tc39/proposal-private-fields) to form a single unified proposal [here](https://github.com/tc39/proposal-class-fields).

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).

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