const VS features detection

Andreas Rossberg rossberg at google.com
Thu Jan 9 06:21:05 PST 2014


On 8 January 2014 18:04, Allen Wirfs-Brock <allen at wirfs-brock.com> 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.

/Andreas


More information about the es-discuss mailing list