Ranando D Washington-King
Ranando D Washington-King
Use [[Set]] by default, add `define` keyword. (was: TypeScript class fields have [[Set]] semantics.)
You do realized you just described many framework, library and tool authors, right? Even though it's only going to be a small percentage of ES developers, what that small percentage...
Use [[Set]] by default, add `define` keyword. (was: TypeScript class fields have [[Set]] semantics.)
@kaizhu256 You weren't trying to bit rot the meaning of that quote, right? :stuck_out_tongue_closed_eyes: I'm an old school developer that prefers to let my only tool be the IDE I'm...
Use [[Set]] by default, add `define` keyword. (was: TypeScript class fields have [[Set]] semantics.)
@ljharb > That’s just public instance fields. Public static fields, and private fields, are not so trivially desugared. Really? In the constructor... **desugared public static field** `this.constructor.field = value` **desugared...
@rowaasr13 > Composition, mix-ins, etc is a natural feature of JS as dynamic language. How can prviate fields from this proposal used with dynamically composing a class? It might be...
Why not split the difference on this one? Add a formatting function to the spec. Default value can be undefined or null. If set, let the getter for `Error.prototype.stack` use...