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 _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

