For one token (+ an import) more, you could use decorators instead. And BTW, it's been suggested already that a standard decorator library should exist, just IIUC (I'm not part of TC39) it's not yet determined what should be in it.
----- Isiah Meadows [email protected] www.isiahmeadows.com On Sun, Dec 2, 2018 at 2:25 AM Jacob Pratt <[email protected]> wrote: > > I'm of the opinion this is what decorators are for. > > On Sun, Dec 2, 2018, 01:49 Ranando King <[email protected] wrote: >> >> Since some form of data is going to land in ES class syntax, it would be a >> good idea if the capabilities of a property descriptor were also exposed for >> all public properties. >> >> https://github.com/rdking/proposal-common-member-modifiers >> _______________________________________________ >> es-discuss mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/es-discuss > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

