We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c12f63 commit 1461c7cCopy full SHA for 1461c7c
src/tokencontext.js
@@ -139,7 +139,7 @@ tt.star.updateContext = function(prevType) {
139
140
tt.name.updateContext = function(prevType) {
141
let allowed = false
142
- if (this.options.ecmaVersion >= 6 && prevType != tt.dot) {
+ if (this.options.ecmaVersion >= 6 && prevType !== tt.dot) {
143
if (this.value === "of" && !this.exprAllowed ||
144
this.value === "yield" && this.inGeneratorContext())
145
allowed = true
0 commit comments