Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
proposal-class-fields
Discontinued Orthogonally-informed combination of public and private fields proposals
-
proposal-static-class-features
Discontinued The static parts of new class features, in a separate proposal
-
proposal-private-fields-in-in
Discontinued EcmaScript proposal to provide brand checks without exceptions
-
proposal-private-declarations
A proposal to allow trusted code _outside_ of the class lexical scope to access private state
Ah you're right. Looks like private methods are in 'stage 3' of proposal, whatever that means: https://github.com/tc39/proposal-private-methods
Current status of proposals
Class Public Instance Fields & Private Instance Fields
Static class fields and private static methods
Ergonomic brand checks for Private Fields
There one or two additional addon specs like Private Declarations, but the other private specs are not dependent on this. I believe, and I haven't been keeping up with them as much lately (they've been hanging at stage 3 for sooo long), that brand checks was something they wanted to have ready before the rest going out.