const VS features detection

Allen Wirfs-Brock allen at
Thu Jan 9 17:04:47 PST 2014

On Jan 9, 2014, at 6:21 AM, Andreas Rossberg wrote:

> On 8 January 2014 18:04, Allen Wirfs-Brock <allen at> wrote:
>> You should be able to put a 'do' in front of any BlockStatement and turn it into an ExpressionStatement.
>> I don't think we should have a new expression level scoping construct that doesn't have the exact semantics of a Block.
> Except for blocks where the cute function declaration legacy rules
> from the Appendix apply, I suppose.

Right.  No legacy issues with do {}.

And those ugly legacy rules only apply in limited circumstances...


More information about the es-discuss mailing list