March 28 meeting notes

Brendan Eich brendan at mozilla.org
Wed Mar 28 23:29:34 PDT 2012


Waldemar Horwat wrote:
> Consensus on:
> - Have only one arrow, namely =>
> - this is always static.  No provision for dynamic this.
> - Other than the treatment of this, the function behaves like a normal
> function.  return, break, etc. behave as though the function body were
> in a function(...){...}.
>
> To be discussed later:
> The thing that comes after the arrow:
> 1. Always an expression (possibly a do expression)?
> 2. A block if it starts with {, otherwise an expression.

See 
http://wiki.ecmascript.org/doku.php?id=strawman:arrow_function_syntax -- 
I'm a bit tired from travel so may have made a mistake or two, and I 
know some of the examples should be better. Comments welcome.

Great to gain consensus on this today!

/be


More information about the es-discuss mailing list