proposal-class-fields
proposal-class-fields copied to clipboard
Orthogonally-informed combination of public and private fields proposals
I think I've finally figured out how to word the 1 argument that everyone against this proposal has in common, that I haven't seen any evidence of being considered or...
Continuing from #100 and other threads, here's a summary of key objections to this proposal raised by the community: @hax's top 3 concerns: > 1. TC39 underated the risk of...
So private fields has a little quirk compared to public fields, and I'm trying to understand **why** the restriction exists. The quirk: ``` class N extends class { constructor(o) {...
Thought it would be a good idea to track that status of tools supporting this feature. - [x] Flow - https://github.com/facebook/flow/releases/tag/v0.54.0 - [x] TypeScript - https://github.com/Microsoft/TypeScript/issues/9950 - [x] Babel ([7.0.0-beta.48](https://github.com/babel/babel/releases/tag/v7.0.0-beta.48))...
I am curious about the design of the specification and its addition of a second lexical environment (`PrivateEnvironment`) throughout the specification algorithms. By writing this, it feels as if the...
From [README#L174](https://github.com/tc39/proposal-class-fields/blame/6aa4f168608368b5808d2bb7ddf5f771d094cc78/README.md#L174): > If `super()` is not called in a derived class, and instead some other public and private fields are not added to the instance, and initializers are not...
Stop the `class-fields` proposal! strong recommend! There is now a new proposal, no prefix '#', no FIELD, no newly concepts! please rate it. * [private-property](https://github.com/aimingoo/private-property) * [implement and test, try...
I wish Stage 3 was still a time when TC39 is open making major changes to a proposal. However, since it isn't, I can only ask these questions in hindsight....
In traditional Javascript objects, and public properties of classes, I can dynamically access properties using array notation, but not private properties using similar notation: ```javascript class Foo { bam =...
In #176, I raised a simple question: >> After the direction settled on Define, was sufficient time given to babel trials to ensure a reasonable level of acceptance from the...