Does a concise body method still return by default?
On Wed, Jun 5, 2013 at 7:50 AM, Rick Waldron <[email protected]> wrote: > > > > On Wed, Jun 5, 2013 at 4:45 AM, Yusuke SUZUKI <[email protected]>wrote: > >> Hello all, >> >> I remember that ConcideBody for MethodDefinition was once introduced >> into the draft, but after that it was reverted. >> And I have a question why it is dropped. Searching maling list, I've >> found 2 threads. >> >> http://esdiscuss.org/topic/concisefunctionbody >> http://esdiscuss.org/notes/2012-05-23 >> >> But I couldn't find why it is dropped. >> Probably I missed the discussion. So I'd appreciate it if you would >> inform me about it. >> > > I see what you're referring to, but I can assure you that the addition of > syntactically "concise" methods hasn't been dropped. It looks like Allen > has just re-organized/removed some of the naming conventions in 13.3. > > MethodDefinition : > PropertyName ( FormalParameterList ) { FunctionBody } > > Still defines a "concise body", but doesn't specifically label it as such > and PropertyDefinition still contains the MethodDefinition-part > > Hopefully this helps? > > Rick > > > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > > -- - Matthew Robb
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

