Finding a "safety syntax" for classes

Allen Wirfs-Brock allen at wirfs-brock.com
Thu Mar 22 10:45:06 PDT 2012


On Mar 22, 2012, at 10:05 AM, Kevin Smith wrote:

> Looks great.  A couple of questions (I may have missed something):
> 
> 1.)  What is a generator method?
> 
>     *PropertyName ( FormalParameterList? ) { FunctionBody } // generator method

http://wiki.ecmascript.org/doku.php?id=harmony:generators 
> 
> 2.)  What happens if the AssignmentExpression to the right of "extends" evaluates to something that doesn't have a "prototype" property?

Same semantics as:  expr <| function() {}

> 
> kevin
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120322/8b514abd/attachment.html>


More information about the es-discuss mailing list