mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
dev
This commit is contained in:
@@ -90,9 +90,7 @@ export class VariableDeclarationObfuscator extends NodeObfuscator {
|
||||
node.type === 'FunctionExpression' ||
|
||||
node.type === 'ArrowFunctionExpression'
|
||||
) {
|
||||
functionParentScope = NodeUtils.getNodeScope(
|
||||
node
|
||||
);
|
||||
functionParentScope = NodeUtils.getNodeScope(node);
|
||||
|
||||
if (NodeUtils.isBlockStatementNode(functionParentScope)) {
|
||||
functionIndex = functionParentScope.body.indexOf(node);
|
||||
|
||||
Reference in New Issue
Block a user