Minimalist Classes
Brendan Eich
brendan at mozilla.com
Wed Nov 2 22:59:23 PDT 2011
On Nov 2, 2011, at 10:38 PM, Matthew Tretter wrote:
> Introducing yet another syntax for creating a function feels like bloat to me.
It's not just for creating a function. Method definition syntax was proposed a while ago and it makes the method non-enumerable and binds super correctly. Please don't treat it as just short for ': function' (although that is approximately 10 chars too long at scale :-|).
/be
More information about the es-discuss
mailing list