You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
introduces fields of classes. Public fields are similar to N4JS (except the missing "public" keyword), private fields use a prefix "#". Accessing private fields can either be done with "this.#x" or simply via "#x".
The proposal is now in stage 3 (candidate) meaning that it is almost done.
It is planned for
The ECMAScript proposal
https://github.com/tc39/proposal-class-fields
introduces fields of classes. Public fields are similar to N4JS (except the missing "public" keyword), private fields use a prefix "#". Accessing private fields can either be done with "this.#x" or simply via "#x".
The proposal is now in stage 3 (candidate) meaning that it is almost done.
It is planned for
Since it is mainly syntax, we should adapt to that as well.
The text was updated successfully, but these errors were encountered: