فهرست منبع

Added more tests

sanex3339 5 سال پیش
والد
کامیت
5f674a43e7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/node-transformers/obfuscating-transformers/VariableDeclarationTransformer.ts

+ 2 - 2
src/node-transformers/obfuscating-transformers/VariableDeclarationTransformer.ts

@@ -172,7 +172,7 @@ export class VariableDeclarationTransformer extends AbstractNodeTransformer {
         lexicalScopeNode: TNodeWithLexicalScope,
         hostVariableDeclarationNode: ESTree.VariableDeclaration
     ): boolean {
-        return this.isProhibitedVariableNameUsingInObjectPatternNode(
+        return this.isProhibitedVariableNameUsedInObjectPatternNode(
             identifierNode,
             lexicalScopeNode,
             hostVariableDeclarationNode
@@ -190,7 +190,7 @@ export class VariableDeclarationTransformer extends AbstractNodeTransformer {
      * @param {VariableDeclaration} hostVariableDeclarationNode
      * @returns {boolean}
      */
-    private isProhibitedVariableNameUsingInObjectPatternNode (
+    private isProhibitedVariableNameUsedInObjectPatternNode (
         identifierNode: ESTree.Identifier,
         lexicalScopeNode: TNodeWithLexicalScope,
         hostVariableDeclarationNode: ESTree.VariableDeclaration