> On Sep 12, 2017, at 11:22 AM, dante federici <c.dante.feder...@gmail.com> > wrote: > > The one thing I still have a gripe over is the class definition syntax -- > where neither `,` or `;` are used at the end of method expressions.
Look at the grammar. `;` is not part of the concise method production, but it is still perfectly fine to insert a a `;` at the immediate end of a concise method. This is exactly like function declarations. A ‘;` is not a required part of a function declaration, but you can put one there if you want. ```js function f() {}; class C { m() {}; n() {}; } //you can put a ; here, too if you want ```
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss