Skip to content

Commit

Permalink
[chore] rm useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Siubaak committed Feb 18, 2024
1 parent cb15ccd commit 98a04b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ export default class Transformer {
// 创建作用域所需变量声明
createScopeVariableDeclarators() {
return [
this.createVariableDeclarator(this.createIdentifier(TMP_VARIABLE_NAME), null),
this.createVariableDeclarator(this.createIdentifier(TMP_VARIABLE_NAME + 't'), this.createThisExpression()),
this.createVariableDeclarator(this.createIdentifier(TMP_VARIABLE_NAME + 'a'), this.createIdentifier('arguments')),
this.createVariableDeclarator(this.createIdentifier(NEW_TARGET_NAME),
Expand Down

0 comments on commit 98a04b0

Please sign in to comment.