Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Spec should allow arbitrary parentheses around expressions (section 4). #65
You should also be clear whether parentheses are allowed around local function definitions, since those could in theory be parsed either as statements or as expressions. I believe the ECMAScript grammar causes them to be parsed as statements, therefore parenthesization is not allowed, but this should be specifically stated.