Skip to content

Commit

Permalink
Replace else with fall through
Browse files Browse the repository at this point in the history
  • Loading branch information
mAAdhaTTah committed Nov 22, 2018
1 parent 4cbd22a commit 100b387
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/babel-parser/src/parser/expression.js
Expand Up @@ -366,9 +366,8 @@ export default class ExpressionParser extends LValParser {
startLoc,
);
});
} else {
return this.parseExprOpBaseRightExpr(op, prec, noIn);
}
// falls through

default:
return this.parseExprOpBaseRightExpr(op, prec, noIn);
Expand Down

0 comments on commit 100b387

Please sign in to comment.