Skip to content

Commit

Permalink
Add VariableDeclaration to left property (Fix jquery#2005)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonzlin authored and ariya committed Jun 11, 2020
1 parent fa49b2e commit d277380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/syntax-tree-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ interface ForStatement {
```js
interface ForInStatement {
type: 'ForInStatement';
left: Expression;
left: Expression | VariableDeclaration;
right: Expression;
body: Statement;
each: false;
Expand All @@ -546,7 +546,7 @@ interface ForInStatement {
```js
interface ForOfStatement {
type: 'ForOfStatement';
left: Expression;
left: Expression | VariableDeclaration;
right: Expression;
body: Statement;
}
Expand Down

0 comments on commit d277380

Please sign in to comment.