proposal-class-fields
proposal-class-fields copied to clipboard
Orthogonally-informed combination of public and private fields proposals
> I did search to see if I could find the answer but no luck. The question is simple, is this supposed to work? Because it should with babel as...
The proposal contains [new early error rules](https://tc39.github.io/proposal-class-fields/#sec-performeval-rules-in-initializer) for direct eval inside initializers. Steps 4-6 of PerformEval should be updated to specify when these rules are actually applied, as those steps...
If I'm reading the spec correctly `AllPrivateIdentifiersValid` will validate correctly for the outer class but not for the inner class. Is this intended behavior or a spec bug?
This new issue is intended as a continuation of the recent discussion in #100. (The only reason for a new thread is that the original has become very, very long,...
It's a bit hard to tell from the ReadMe what `this` will be bound to in a static or instance initializer. For instances it seems to be the object being...
@bmeurer raised the question, if initializers are specified as methods, will this have runtime overhead? It would be nice if frontends could trivially inline initializers in the normal case. There...
The spec text about how properties are represented is a bit high-level, with wording like "Let X be O's own property whose key is P." Private state, on the other...