mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Added more tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user