length property value for functions with parameter enhancements

2011-08-26 Thread Allen Wirfs-Brock
Something we need to define for ES.next is how to compute the length property value for functions whose formal parameter list includes "optional" and/or rest parameters. (See http://wiki.ecmascript.org/doku.php?id=harmony:parameter_default_values and http://wiki.ecmascript.org/doku.php?id=harm

Re: Block scoping and redeclarations

2011-08-26 Thread Brendan Eich
On Aug 25, 2011, at 11:54 PM, Andreas Rossberg wrote: > Well, in that case you would not capture the order-independence > properly. Consider e.g.: > > { { var x; ... let x} } > > Neither is the var hoisted "across" the source position of the let, > nor "across" its scope. Still it's supposed to