perf: Use strict equals

This commit is contained in:
Daniel Tschinder
2019-01-15 13:13:58 -08:00
parent 8df0500f55
commit 0370af58f1
5 changed files with 8 additions and 8 deletions

View File

@@ -525,7 +525,7 @@ export default class ExpressionParser extends LValParser {
} else if (this.match(tt.questionDot)) {
this.expectPlugin("optionalChaining");
state.optionalChainMember = true;
if (noCalls && this.lookahead().type == tt.parenL) {
if (noCalls && this.lookahead().type === tt.parenL) {
state.stop = true;
return base;
}