Class data member declarations proposal idea

Aaron Gray aaronngray.lists at
Fri Aug 10 09:59:34 UTC 2018

On Fri, 10 Aug 2018 at 00:09, Logan Smyth <loganfsmyth at> wrote:

> It might help if you could clarify how your proposal diverges from the
> class fields proposal that you linked to. From purely a syntactic view,
> ignoring the type annotations, I don't see an obvious difference, so it is
> hard to tell what your expectations are. You state "I have shown the idea
> of declaring subobject default value declarations.", but I can't actually
> tell what that means or what you intended to show. Is
> ```
> defaults = {
>   a: 1,
>   b: 2
> }
> ```
> meant to create a property called `defaults`, or do something else?

That and the syntax.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list