Skip to content

Commit

Permalink
Remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk authored and marijnh committed Dec 23, 2022
1 parent 4cf56d2 commit a32994a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acorn/src/expression.js
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ pp.parseProperty = function(isPattern, refDestructuringErrors) {
if (!isPattern && !containsEsc && this.options.ecmaVersion >= 8 && !isGenerator && this.isAsyncProp(prop)) {
isAsync = true
isGenerator = this.options.ecmaVersion >= 9 && this.eat(tt.star)
this.parsePropertyName(prop, refDestructuringErrors)
this.parsePropertyName(prop)
} else {
isAsync = false
}
Expand Down

0 comments on commit a32994a

Please sign in to comment.