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