Oooh, static getters and setters, nice. Glad to see the max-min idea seems to be working out well :). Little incremental improvements like this seem natural and a joy to use. Awesome to see them in Traceur so quickly too! ________________________________________ From: [email protected] [[email protected]] on behalf of Erik Arvidsson [[email protected]] Sent: Tuesday, February 12, 2013 10:49 To: Kevin Smith Cc: es-discuss Subject: Re: Class Method Syntax
On Tue, Feb 12, 2013 at 9:44 AM, Kevin Smith <[email protected]> wrote: > First, thanks for creating a proposal for this. A couple of questions: > > 1) Is class method syntax slated for ES6? Yes. > 2) I assume that we'd parse "static" the same way we parse "get" and "set", > e.g. this is possible: > > class C { > static() {} // Method "static" on C instance > static static() {} // Method "static" on C > } Yes. https://code.google.com/p/traceur-compiler/source/browse/test/feature/Classes/Static.js#23 -- erik _______________________________________________ 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

