Method definitions in classes/objects

Juan Ignacio Dopazo dopazo.juan at
Sun Oct 7 08:19:54 PDT 2012


When checking what Traceur/TypeScript do when compiling method definitions
I found both convert methods to assignments of an anonymous function.
Traceur changed it recently (see

I was under the impression that methods would desugar to a named function
with the same name as the property, but I checked the wiki and there is no
reference to named functions. Has this been discussed? Is there consensus
on anonymous/named?

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list