Class Method Syntax
Rick Waldron
waldron.rick at gmail.com
Tue Feb 12 07:14:54 PST 2013
At the last TC39 meeting, Yehuda Katz presented a proposal that was
accepted for ES6:
https://github.com/rwldrn/tc39-notes/blob/master/es6/2013-01/jan-30.md#staticclass-side-methods
Rick
On Tue, Feb 12, 2013 at 9:44 AM, Kevin Smith <khs4473 at gmail.com> wrote:
> First, thanks for creating a proposal for this. A couple of questions:
>
> 1) Is class method syntax slated for ES6?
>
> 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
> }
>
> Thanks!
>
> { Kevin }
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130212/440a1183/attachment.html>
More information about the es-discuss
mailing list