Skip to content

Commit

Permalink
Fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Mar 26, 2019
1 parent 6bc9e7e commit 60d7e94
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/babel-parser/src/parser/statement.js
Expand Up @@ -959,10 +959,7 @@ export default class StatementParser extends ExpressionParser {
}

node.left = init;
node.right =
type === "ForInStatement"
? this.parseExpression()
: this.parseMaybeAssign();
node.right = isForIn ? this.parseExpression() : this.parseMaybeAssign();
this.expect(tt.parenR);

node.body =
Expand Down

0 comments on commit 60d7e94

Please sign in to comment.